ADO.NET XmlSerialization of extended DataTable

We are migrating communication protocol from .NET Remoting to WCF. Due to legacy fo this project, domain object is a DataTable that has some additional fields. In .NET Remoting serialization of that kind of object works perfectly, but in WCF these additional fields are not serialized. Instead of binary serialization in .NET Remoting, XML serialization is used in WCF. Lets have a class that derives DataTable type: public class WcfDataTable : DataTable { private string _ServerName; public WcfDataTable() : base() { } public WcfDataTable(string tableName) : base(tableName) { } public string ServerName { get { return this.
Tags# , , , ,