I have a requirement like i need to write an entity class in C# which can hold xml data. I want to avoid overhead of checking the well-formedness of saved xml. I have a corresponding column with type XML. Do we have xml data type or some class which can be used as a class field to hold xml. Thanks in advance
Update: The service using this Entity class is WCF
service and in future we are making it REST
compatible. Will XmlDocument
or XElement
work with it?