+2007-05-07 Adar Wesley <adarw@mainsoft.com>
+
+ * ConstraintCollection.cs: added CopyTo method with strongly typed Constraint[]
+ parameter.
+
+ * DataTable.cs: added implementation of IXmlSerializable. Added missing
+ method ReadXmlSerializable.
+
2007-04-19 Chris Toshok <toshok@ximian.com>
* DataColumnCollection.cs (Add): the Element in our
public class DataTable : MarshalByValueComponent, IListSource, ISupportInitialize,\r
ISerializable\r
#if NET_2_0\r
- , ISupportInitializeNotification\r
+ , ISupportInitializeNotification, IXmlSerializable\r
#endif\r
{\r
#region Fields\r
}\r
\r
#if NET_2_0\r
+\r
+ #region IXmlSerializable Members\r
+\r
+ [MonoNotSupported("")]\r
+ XmlSchema IXmlSerializable.GetSchema () \r
+ {\r
+ return GetSchema ();\r
+ }\r
+\r
+ void IXmlSerializable.ReadXml (XmlReader reader) \r
+ {\r
+ ReadXml (reader);\r
+ }\r
+\r
+ void IXmlSerializable.WriteXml (XmlWriter writer) \r
+ {\r
+ WriteXml (writer);\r
+ }\r
+\r
+ #endregion\r
+\r
/// <summary>\r
/// Loads the table with the values from the reader\r
/// </summary>\r
if (target != null)\r
target.CopyProperties (this);\r
}\r
+\r
+ [MonoNotSupported("")]\r
+ protected virtual void ReadXmlSerializable (XmlReader reader)\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
#endif\r
\r
/// <summary>\r