I need to serialize my entities. I using LinqToSql as ORM.
I don't want to mark all fields and class with attributes.
Is there custom library for xml serializtion without attributes( at least not required) and support collections?
Asked
Active
Viewed 187 times
0
user1260827
- 1,438
- 6
- 31
- 53
2 Answers
0
The out of the box xml serilization should work
http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlserializer.aspx
TGH
- 37,937
- 11
- 96
- 131
0
I'm not sure about libraries but you can always do a Proper way to implement IXmlSerializable? This will allow you to MANUALLY create XML exactly as you need it.
Community
- 1
- 1
Erik Philips
- 51,408
- 11
- 123
- 146