Im returning an object graph from a remoting server and get the following exception. I've extended the entity classes, which might be causing some of the issues. From looking at the source, this exception is because the _fields field in EntityBase2 is null. Anyone know how to fix this?
Thanks
CT
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2.get_IsDirty()
at SD.LLBLGen.Pro.ORMSupportClasses.EntityCollectionBase2.Add(IEntity2 entityToAdd)
at SD.LLBLGen.Pro.ORMSupportClasses.EntityCollectionBase2..ctor(SerializationInfo info, StreamingContext context)
at CMI.v2.LLBL.HelperClasses.EntityCollection..ctor(SerializationInfo info, StreamingContext context) in c:\vss_carbon\cmi\applications\v2\llblgen\databasegeneric\helperclasses\entitycollection.cs:line 67
--- End of inner exception stack trace ---