Commit Graph
6 Commits
Author SHA1 Message Date
Senganal T 87cff09075 2006-06-15 Senganal T <[email protected]>
* Test/System.Data/DataSetTest2.cs : Test the behavior of EnforceConstraints 
	* Test/System.Data/DataViewTest_IBindingList.cs : Test to ensure the correct index is 
	used for comparision
	* Test/System.Data/DataRowTest2.cs : Test to ensure the RowErrors and ColumnErrors are
	filled correctly.

	* System.Data.Common/Key.cs : 
		-Equals : Check for Equality of Sort Order too.
		
	* System.Data/DataSet.cs :
		- InternalEnforceConstraints : Check if any null constraints 
		are violated. Throw ConstraintException only after all the errors
		are filled.
	* System.Data/DataTable.cs :
		- EnforceConstraints : Move away the logic to check for 
		NullConstraintViolation.
		- AssertNotNullConstraint : Checks for Null Constraint
		Violation.
		- EndLoadData : Do not throw any exceptions here. All the
		errors have to be found and RowErrors set before throwing the
		exception.
	* System.Data/DataRow.cs :
		- ImportRecrod : Check the values of the row for any null
		values.
		- SetColumnError : If the error for column is already set,
		do not add a new error but edit the existing error. 
		- CheckValue : Set the NullConstraintViolation flag if either
		table is being loaded or if EnforceConstraints is set to
		false.
	* System.Data/Constraint.cs : Do not throw exception when EnforceConstraints is
	set to false or table is being loaded.
	* System.Data/UniqueConstraint.cs : Correct the error message. Set ColumnErrors
	along with the RowError.


svn path=/trunk/mcs/; revision=61744
2006-06-15 06:56:16 +00:00
Senganal T d915d0690b 2006-03-07 Senganal T <[email protected]>
* Test/System.Data/DataRowCollectionTest2.cs :
	* Test/System.Data/DataTableTest2.cs :
		- Added failing testcases as NotWorking tests.
	* System.Data.Common/Key.cs : 
		Reverted the changes from the prev patch.


svn path=/trunk/mcs/; revision=57653
2006-03-07 10:22:01 +00:00
Senganal T 08c7b22113 2006-02-22 Senganal T <[email protected]>
* 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
2006-02-22 10:03:03 +00:00
Konstantin Triger 2dd47010c8 fix index updates
svn path=/trunk/mcs/; revision=54453
2005-12-15 14:17:30 +00:00
Boris Kirzner c40ca95e84 Reusing indexes in DataTable.Select() and supporting fixes.
svn path=/trunk/mcs/; revision=50469
2005-09-22 11:52:30 +00:00
Boris Kirzner cc4891c52c Drop of Mainsoft.System.Data
svn path=/branches/Mainsoft.System.Data/mcs/; revision=43607
2005-04-26 17:22:27 +00:00