Silverlight 4 WCF RIA EntityCollection Navigation Property Not Serialized

Sep 22, 2011 at 7:13 AM


I am working on a project which require offline access to some critical data. I am planning to use SharpSerializer to serialize my objects to binary/XML file on the client side for easy access. However, some of my objects have EntityCollection Navigation property which is not copied to XML/binary by the serializer. How do I include EntityCollection as part of the property to be serialized? Is it possible to achieve this instead of defining a wrapper property in List<T> so that SharpSerializer can get my list of items?

Sep 25, 2011 at 3:36 PM

hi, RIA Services is not my core area, Therefore researches can last sth longer.

I would suggest creating a wrapper. I call it substitute.

Sep 25, 2011 at 4:08 PM

Hi polo,

Thank you for the link. I'll try the solution out and perhaps report back to you for documentation purpose