Doesn't work with Entity Framework 4 objects

Jun 3, 2010 at 10:45 PM

Null Reference Error on:

public static MemberInfo FromSerializableForm(this MemberInfo memberInfo, string serializedValue)
            string[] fullName = SplitString(serializedValue);
            string name = fullName[1];
            MemberInfo member = (from m in Type.GetType(fullName[0]).GetMembers()
                                     where m.ToString() == name
                                     select m).First();
            return member;



Runtime evaluation of fullName[0] reveals everything as expected, however Type.GetType(fullName[0]) returns null.

Dec 14, 2011 at 6:33 PM
Edited Dec 14, 2011 at 6:33 PM

I am having the same issue on deserialization only, serialization of EntityFramework Objects works fine. has anyone found a fix for this yet?