I\'m trying to preserve data on two different versions of an object and not having any success with it. Can anyone tell me what I\'m doing wrong?
Version One of the
The Xml*Attribute classes are used by XmlSerializer, not by DataContractSerializer. As far as I know, DataContractSerializer doesn't have any mechanism to handle this scenario. If you can, use XmlSerializer instead, it's much more flexible.
Xml*Attribute
XmlSerializer
DataContractSerializer