Commit Graph
11 Commits
Author SHA1 Message Date
Raja R Harinath 9ab60f6e52 * RecordCache.cs: Reduce some extraneous nesting.
svn path=/trunk/mcs/; revision=119006
2008-11-17 12:30:09 +00:00
Raja R Harinath 5e7095f954 style nits
svn path=/trunk/mcs/; revision=113147
2008-09-16 12:52:47 +00:00
Rodrigo Kumpera c2b894982a In System.Data:
2008-07-01  Rodrigo Kumpera  <[email protected]>

	* DataTable.cs: Kill some foreach loops.
	
	* DataRow.cs: Same.

In System.Data.Common:
2008-07-01  Rodrigo Kumpera  <[email protected]>

	* RecordCache.cs: Kill some foreach loops.


svn path=/trunk/mcs/; revision=107031
2008-07-02 04:02:55 +00:00
Konstantin Triger c41b07156f fixing net_2_0 compilation
svn path=/trunk/mcs/; revision=44554
2005-05-16 10:14:14 +00:00
Sureshkumar T 57f15cb5da * System.Data/DataRow.cs:
* System.Data/DataTable.cs: 
	* System.Data.Common/RecordCache.cs: quick fix for 2.0 profile build failure (follow up for check in 2005-05-16).


svn path=/trunk/mcs/; revision=44552
2005-05-16 08:34:36 +00:00
Konstantin Triger 2a82592256 merging the Mainsoft branch to the trunk
svn path=/trunk/mcs/; revision=44547
2005-05-15 23:15:37 +00:00
Boris Kirzner 13b3fc466d Drop of Mainsoft.System.Data
svn path=/branches/Mainsoft.System.Data/mcs/; revision=43606
2005-04-26 17:20:55 +00:00
Sureshkumar T b1ca844c7e In Test/System.Data:
2005-04-22  Sureshkumar T  <[email protected]>

	* DataTableLoadRowTest.cs: Added. A test case for testing
	LoadDataRow method of DataTable. This tests for various
	possiblities of row state and loadoption.

In System.Data.Common:
2005-04-22  Sureshkumar T  <[email protected]>

	* DbDataAdapter.cs: Moved FillTable and BuildSchema as static
	methods as they are not operating on the current instance. This
	could be reused to fill any table from a data reader.

	* RecordCache.cs: While disposing records, make sure that the
	record is not already disposed. i.e. to make sure later the same
	record is not reused. Implemented a static method to compare two
	version of records in a container.

In .:
2005-04-22  Sureshkumar T  <[email protected]>

	* System.Data_test.dll.sources: Added DataTableLoadRowTest.cs.

In System.Data:
2005-04-22  Sureshkumar T  <[email protected]>

	* LoadOption.cs: Changed the enums. Keeping old values for
	migration.

	* DataTable.cs: Implemented methods Load and its overloads. Also
	implemented LoadDataRow.

	* DataRowCollection.cs: Added a variation of the Find method to
	return a row even if it is of state Deleted. This is required for
	DataTable.LoadDataRow method.

	* DataRow.cs: Implemented internal helper method Load for loading
	values from an object array and given an LoadOption (2.0 feature).

	* DataRowAction.cs: Added few more enums for .net 2.0. Sorted
	alphabetically.


svn path=/trunk/mcs/; revision=43440
2005-04-22 13:11:40 +00:00
Boris Kirzner 351b27d360 * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
svn path=/trunk/mcs/; revision=29754
2004-06-17 08:39:07 +00:00
Sachin Kumar ec81df777c Add license and copyright to all source files in System.Data
svn path=/trunk/mcs/; revision=29688
2004-06-16 13:52:11 +00:00
Boris Kirzner 033e708f3c * RecordCache.cs - added. Each instance of record cache belongs to specific table and manages pool of records ( indexes into data containers) to be used by data rows.
* DataContainer.cs - added. Provides implementation for data containers that holds data in arrays of primitives or objects. Each data container belongs to specific DataColumn.
* DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable ( to fetch exact number of records required ).

svn path=/trunk/mcs/; revision=27655
2004-05-19 09:46:00 +00:00