public string EntityToXML() { var stringwriter = new System.IO.StringWriter(); var serializer = new XmlSerializer(this.GetType()); serializer.Serialize(stringwriter, this); return stringwriter.ToString(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)