XML Serializing Entity Framework entities with their children for SOA
Posted by: Julia Lerman Blog - Dont Be Iffy...,
on 02 Oct 2007 |
View original | Bookmarked: 0 time(s)
Another challenge in working with tiered solutions (notably web services) that require
xml serialization of entity objects is that the xml serializer does not serialize
the entire graph. It only gets the main object and drops all of the relations. This
is not because Entity Framework is trying to be mean, just related to how XML serialization
works. In fact, the binary serialization gets the entire graph. But in the web services
scenarios, we need XML.
So how to go about passing the full graph...