New test.
[mono.git] / mcs / class / System.Data / System.Data / ChangeLog
index 12519ede36b9b621385de70e828ee49bb695177d..842cc93786771623cbeb12d8b8e7641814e6a021 100644 (file)
@@ -1,3 +1,131 @@
+2006-11-28  Nagappan A  <anagappan@novell.com>
+
+       * XmlSchemaDataImporter.cs: Fixed 2.0 profile compilation
+       warnings. Using AttributeSchemaType instead of AttributeType and
+       ElementSchemaType instead of ElementType.
+
+       * TypedDataSetGenerator.cs: Modified the profile check from
+       !NET_1_1 to !NET_1_0, as this class is obsolete from 1.1 profile.
+
+       * DataRelationCollection.cs (Item): Modified the property Item as
+       abstract and implemented it in DataSetRelationCollection and
+       DataTableRelationCollection classes.
+
+       * DataRowView.cs: Remove bogus MonoTODOs.
+
+       * ForeignKeyConstraint.cs (ForeignKeyConstraint): Implemented
+       2.0 profile's missing constructor.
+
+       * XmlDataLoader.cs (StringToObject): Modify XmlConvert.ToDateTime
+       to use XmlDateTimeSerializationMode, as the default ToDataTime
+       method id obsolete.
+
+       * XmlDataReader.cs (StringToObject): Modify XmlConvert.ToDateTime
+       to use XmlDateTimeSerializationMode, as the default ToDataTime
+       method id obsolete.
+
+       * DataView.cs (IsInitialized): Added browsable attribute. 
+
+       * DataViewSettingCollection.cs (CopyTo): Implemented missing 2.0
+       API.
+
+       * DataRelation.cs (DataRelation): Added 2.0 profile constructor to
+       take parentTableNameSpace and childTableNameSpace as argument.
+       (FinishInit): Update parentTableNameSpace and childTableNameSpace,
+       when the string is not empty in 2.0 profile.
+
+       * DataRowCollection.cs: Implemented Count public property.
+       Added !NET_2_0 for List protected property, as it has been removed
+       in 2.0 prifle.
+       (IndexOf): Implemented new public method.
+       (CopyTo): Implemented new public override method.
+       (GetEnumerator): Implemented new public override method.
+
+       * DataTable.cs (Load): Throw ArgumentNullException, when reader
+       argument is null.
+       (WriteXmlSchema): Throw InvalidOperationException, when table name
+       is empty. When DataSet Namespace is set, append that with '_x003A_'
+       and table name.
+       (IsInitialized): Added browsable attribute.
+
+       * DataSet.cs (Load): Throw ArgumentNullException, when reader
+       argument is null.
+       (IsInitialized): Added browsable attribute.
+       (WriteObjectXml): Modify XmlConvert.ToDateTime to use
+       XmlDateTimeSerializationMode, as the default ToDataTime method id
+       obsolete.
+
+       * XmlSchemaWriter.cs (WriteSchema): Modified UseCurrentCulture to
+       UseCurrentLocale.
+       (WriteDataSetElement): Added minOccurs attribute.
+       (WriteConstraints): Check for tables length, if > 1 then add the
+       relations to XmlSchema.
+
+2006-11-21  Nagappan A  <anagappan@novell.com>
+
+       * DataView.cs: Added public event Initialized.
+       (IsInitialized): Implemented public function to check whether a
+       dataview is initialized or not.
+
+       * DataSet.cs: Added ISupportInitializeNotification for .NET 2.0
+       profile.
+       (RemotingFormat): Set the default value attribute as
+       SerializationFormat.Xml.
+       (IsInitialized): Implemented public function to check whether a
+       table is initialized or not.
+       (CreateDataReader): Added params keyword in argument.
+       (Load): Implemented all Load overloaded functions.
+       (GetObjectData): Modified to public for .NET 2.0 implementation.
+       (IsBinarySerialized): Implemented the public API to check whether
+       the given stream is binary serialized or not.
+       * DataTable.cs: Added ISupportInitializeNotification for .NET 2.0
+       profile.
+
+2006-11-15  Nagappan A  <anagappan@novell.com>
+
+       * DataTable.cs (RemotingFormat): Set the default value attribute
+       as SerializationFormat.Xml.
+       (OnTableNewRow, NewRowAdded): Implemented new function to raise an
+       event when a new row is added to the table.
+       (DataTableInitialized, OnTableInitialized): Implemented new
+       function to raise an event when a table is initialized.
+       (IsInitialized): Implemented public function to check whether a
+       table is initialized or not.
+       (OnTableClearing): Raise an event before the table is cleared.
+       (GetObjectData): Modified to public for .NET 2.0 implementation.
+       (Load): Implemented missing API to call the registered delegate
+       function on load exception.
+       (WriteXmlSchema): Implemented overloaded function to write the
+       hierarchy with XML Schema.
+
+2006-11-15  Konstantin Triger <kostat@mainsoft.com>
+
+       * DataTable.cs: Fixed LoadDataRow scenarios.
+       * DataRowCollection.cs: Added override for AddInternal taking DataRowAction parameter.
+
+2006-11-14  Konstantin Triger <kostat@mainsoft.com>
+
+       * DataColumn.cs: consider row version wen checking row.IsNull().
+
+2006-10-18  Nagappan A  <anagappan@novell.com>
+
+       * ForeignKeyConstraint.cs (_validateColumns): Parent and child
+       columns can't be the same column - Exception, bug # 79689
+
+2006-10-13  Nagappan A  <anagappan@novell.com>
+
+       * DataTable.cs (DeserializeConstraints): Fine tuned the
+       serialization and deserialization of constraints.
+
+       * DataRelationCollection.cs (Contains): Fixes bug
+       #79233. DuplicateNameException when two relations for different
+       DataTables in DataSet are defined
+
+2006-10-06  Patrick Earl <mono@patearl.net>
+
+       * DataTable.cs, XmlTableWriter.cs, XmlSchemaWriter.cs, DataSet.cs:
+       Implemented DataTable.WriteXml
+
 2006-09-26  Nagappan A  <anagappan@novell.com>
 
        * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,