c# - Serialization vs LINQ -


I am currently writing an application to manage some customers, customers have some relation such as order you think Like the Northwind database, I want to save the data in an XML file. My application should read, modify, and save data I think, the two approaches are the first way to save, read, and modify data from the XmlSerializer class. The second approach is to work with LINQ-to-XML. All my classes are written in simple C # classes, so I'm not sure. What do you think What should I do for my needs?

Thanks in advance!

XML XML documents from LINQ are good for interrogation.

If you are serializing / de-serializing an object, then I will drop it in the XML serializer class.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -