Hey guys,
I have a WPF application which tightly coupled to linq2sql through WCF. It now turns out the Customer would like some sort of Offline mode using an xml file structure.
Lets say I have a Customers Table, Each Customer would have many Orders, with each order only belonging to one customer, so In my table design I would have a fk_CustId Column in my Orders table.
I would like to know if there is any straightforward pattern of serializing an instance of Customer(Linq2sql entity), so that it would automatically include the Order Child nodes in the xml.
Any help would be appreciated.