How to serialize a Linq to Sql object graph without hiding the child's "Parent" member

Posted by Richard B on Stack Overflow See other posts from Stack Overflow or by Richard B
Published on 2010-06-10T21:09:47Z Indexed on 2010/06/10 21:13 UTC
Read the original article Hit count: 136

Without hiding the Child object's reference to the Parent object, has anyone been able to use an XmlSerializer() object to move a Linq to SQL object to an XML document, or is the only appropriate way of handling this to create a custom serialization/deserialization class to handle moving the data to/from the xml document?

I don't like the idea of hiding the child object's reference to the parent object is why I'm asking.

Thx.

© Stack Overflow or respective owner

Related posts about linq-to-sql

Related posts about xml-serialization