Wednesday, 14 September 2011

DataContract Serialization: Deserializing objects pointing to existing instances

When deserializing objects through DataContract, new objects will always be created. In some occasions you want to use existing instances instead of creating new ones. IObjectReference can be used to solve this problem.

StackOverflow: C# DataContract Serialization, how to deserialize to already existing instance

MSDN: IObjectReference Interface

No comments:

Post a Comment