2006-02-22 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataRowCollectionTest2.cs : Check if index is maintained for row on calling RejectChanges.
* Test/System.Data/DataTableTest2.cs : Check if data is loaded and merged (if key exists) correctly.
* Test/System.Data/ForeignKeyConstraintTest.cs : Check if a ParentColumn value can be modified
when the row is in 'Added' State. Also, check if child col values are
updated correctly.
* Test/ProviderTests/System.Data.SqlClient/SqlAdapterTest.cs : Added testcases for verifying FillError Behavior
* System.Data.Common/DbDataAdapter.cs :
- FillTable : Move BeginLoadData, EndLoadData outside the loop. Also,
move EndLoadData outsidet try,catch block. FillError is only for errors
occuring during loading the data into datatable.
* System.Data.Common/Key.cs :
- Set Default value of RowStateFilter to (CurrentRos | OriginalRows).
- ContainsVersion : If RowStateFilter is set to default value, return true
for Modified Rows as they can contain Default/Original versions.
* System.Data/DataRow.cs
- RejectChanges : Do not remove Row from Indexes when state is Deleted.
- CheckChildRows : When checking for the ChildRows, use the current value
and not the original value.
svn path=/trunk/mcs/; revision=57149