Hello,
I am having some problems using the explicit serialization of an LL entity which has been extended to include a LIST<ErrorData>, where ErrorData is a custom class written by us, extended via a partial class.
If I remove the added member variable LIST<ErrorData> from the CommonEntityBase, then writexml and readxml work fine.
As soon as I extend the entity, with the LIST<ErrorData>, and the ErrorData class is marked as [serializable], then I received the following error:
Object of type 'System.String' cannot be converted to type 'System.Collections.Generic.List`1[OneShop.Mc.DAL.CustomBusinessEntityClasses.ErrorData]'.
This error occurs regardless of whether I use Compact, Compact25 or no XML optimization hint on the WriteXML method.
Any thoughts?
Thanks.
Can1
p.s. I am using LL V2.6