hey, all
I am having a problem to serialize a complex object into xml, hope someone can help me.
To make it short, I have two objects: "Contract" and "Rate"
The Contract has a property of Rate object as a circular reference. When I use an XmlSerializer to serialize the Contract, the framework thrown me an error "A circular reference was detected while serializing an object of type xyz"
Is there a way to work it around?
Thanks in advance.
I am having a problem to serialize a complex object into xml, hope someone can help me.
To make it short, I have two objects: "Contract" and "Rate"
The Contract has a property of Rate object as a circular reference. When I use an XmlSerializer to serialize the Contract, the framework thrown me an error "A circular reference was detected while serializing an object of type xyz"
Is there a way to work it around?
Thanks in advance.