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 190 times
0

user1260827
- 1,498
- 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
- 38,769
- 12
- 102
- 135
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
- 53,428
- 11
- 128
- 150