[Mono-devel-list] [PATCH] changes in System.Data

Eran Domb erand at mainsoft.com
Sun Nov 30 09:10:09 EST 2003


Hello,
I made some changes in System.Data:
 
* DataColumnCollection.cs (this[string name]) : Use IndexOf to find the
column.
            (Add) : Find if the new column name is the same as the one
found in IndexOf.
            (IndexOf) : New method.
            (Contains) : Use new IndexOf.
            (IndexOf) : Use new IndexOf.
            
            * DataRelationCollection.cs (DataRelationCollection.AddCore)
: Add The Relation to the collection.
            (DataSetRelationCollection.AddCore) : First add the
UniqueConstraint.
            
            * DataRow.cs (this[int columnIndex, DataRowVersion version])
: Change exceptions.
            (Delete) : Detach row if the RowState was Added.
            (GetChildRows) : Get the array form the ChildTable.
            (GetParentRows) : Get the array from the ParenTable.
            
            * DataRowCollection.cs (Remove) : Check if row state is
Detached to avoid exception.
            
            * DataSet.cs (IXmlSerializable.ReadXml) : Do not call
MoveToContent and ReadEndElement - the XmlSerializationReader does it.
            
            * DataTable.cs (PrimaryKey) : Fix bugs.
            (Compute) : First call Select. Then create
ExpressionAggregate to aggregate the Select result.
            
            * DataTableCollection.cs (Add) : Fix a bug.
            
            * ExpressionElement.cs (ValidateExpression) : Turning
ValidateExpression to static.
            (Result) : Added new interface to AggregateExpression that
get DataRow[] as a param.
            
            * ForeignKeyConstraint.cs (_validateColumns) : Throw correct
exception.
            
* MergeManager.cs (AdjustSchema) : Fix a bug.
 
Attached is a diff file. If no one objects I will commit.
 
Thanks
Eran Domb
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031130/180f7b41/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System.Data.diff
Type: application/octet-stream
Size: 112493 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031130/180f7b41/attachment.obj 


More information about the Mono-devel-list mailing list