Files
mono/mcs/class/System.Data/System.Data.Common/ChangeLog
T
Duncan Mak 8e8b1a660a Patches from Eran Domb <[email protected]>.
* DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.

* DataRelation.cs (constructor): When the name of the relation is
null, it should return an empty, not "Relation".

* DataRow.cs (AcceptChanges): Added special case for
RowState.Detached.
(CancelEdit): Set editing flag to false.
(IsNull): Check that the value is DBNull.

* DataRowCollection.cs (Add): There was no check that the table of
the collection is owned by a DataSet.

* DataSet.cs (OnMergeFailed): Added.

* UniqueConstraint.cs (AssertConstraint): There was no check that
values in the row are not null, where it is a primary key
column. Also check that the row has a proposed version, if not,
get the current version when we compare the rows.

svn path=/trunk/mcs/; revision=18452
2003-09-30 23:25:54 +00:00

88 lines
2.9 KiB
Plaintext
Executable File

2003-09-30 Duncan Mak <[email protected]>
Patch from Eran Domb <[email protected]>.
* DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
2003-09-25 Duncan Mak <[email protected]>
* DbDataAdapter.cs (Fill): Patch from Eran Domb, <[email protected]>.
Fixes a possible NullReferenceException, more details here:
http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
2003-09-21 eran <[email protected]>
* DbDataRecord.cs: The method
System.Data.Common.DbDataRecord.GetValues(object[] values) did not
put the values of the DbDataRecord into values parameter.
2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
exception. Thanks to Mark Easton <[email protected]>.
2003-07-31 Duncan Mak <[email protected]>
* DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
NET_1_1.
2003-03-21 Alan Tam <[email protected]>
* DbDataAdapter.cs: Update now uses correct DataRowVersion
when accessing the data.
2003-03-17 Aleksey Demakov <[email protected]>
* DbDataAdapter.cs: BuildSchema now uses ColumnName instead
of BaseColumnName (bug #39830) for DataColumn names.
BaseTableName is no longer taken into account as well.
2003-02-28 Aleksey Demakov <[email protected]>
* DbDataAdapter.cs: Update (DataSet) updates the default
table only.
2003-02-25 Alan Tam <[email protected]>
* DbDataAdapter.cs: Added support for filling when schema is present.
Fixed incorrect behavior when ColumnMapping is present
when more than one fields have the same name. Implemented Dispose.
Fixed error when there is no ColumnMapping at all.
Still have some problems in finding the correct TableMapping
because the SourceTable name is not present in BuildSchema
2003-02-24 Aleksey Demakov <[email protected]>
* DbDataAdapter.cs: The original code might pass a null DataTableMapping
value which is then used to create a RowUpdatingEventArgs
instance. So RowUpdatingEvent handler (for instance
CommandBuilder) could get null DataTableMapping which
might be unexpected. The patch makes sure that a non-null
DataTableMapping is passed.
2003-01-26 Gonzalo Paniagua Javier <[email protected]>
* DbEnumerator.cs: why does the runtime throw an invalid cast here? The
object is an Int16... Gotta fill a bug report and when fixed undo this
patch.
2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
2002-10-31 Daniel Morgan <[email protected]>
* SchemaInfo.cs: added missing properties to fix mcs build
2002-05-05 Miguel de Icaza <[email protected]>
* DataTableMapping.cs, DataTableMappingCollection.cs: comment out
interfaces we do not implement yet.
* DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
we do not implement yet.
* DbDataPermissionAttribute.cs: call base constructor.