Commit Graph
9 Commits
Author SHA1 Message Date
Marek Habersack 861c4f8f12 Backport of r120592.
svn path=/branches/mono-2-2/mcs/; revision=120593
2008-12-03 13:55:22 +00:00
Atsushi Eno b4f8a014a2 2008-05-14 Atsushi Enomoto <[email protected]>
* DataTableExtensions.cs :
	  implemented AsDataView() and CopyToDataTable().
	* EnumerableRowCollection.cs : added Table property for internal use.

	* DataTableExtensionsTest.cs : new test.

	* System.Data.DataSetExtensions.dll.sources :
	  added RowEnumerableDataReader.cs
	* System.Data.DataSetExtensions_test.dll.sources :
	  added DataTableExtensionsTest.cs.


svn path=/trunk/mcs/; revision=103171
2008-05-14 11:53:28 +00:00
Atsushi Eno 3aeedf2140 2008-05-14 Atsushi Enomoto <[email protected]>
* TypedTableBase.cs : serialization .ctor() does nothing here (it
	  might do something in derived types. no need to throw NIE here).


svn path=/trunk/mcs/; revision=103158
2008-05-14 05:47:00 +00:00
Atsushi Eno c9c8a9b1f5 2008-05-14 Atsushi Enomoto <[email protected]>
* EnumerableRowCollectionExtensions.cs,
	  OrderedEnumerableRowCollection.cs : implemented ThenBy().
	  It required some generic refactoring.

	* EnumerableRowCollectionTest.cs : added tests for thenby (again
	  commented out yet).


svn path=/trunk/mcs/; revision=103157
2008-05-14 05:43:47 +00:00
Jb Evain 220a93c7c8 2008-05-13 Jb Evain <[email protected]>
* EnumerableRowCollection.cs: delete methods
	Select/Where/Cast that duplicate Linq to Objects
	methods.
	* EnumerableRowCollectionExtensions.cs
	TypedTableBase.cs, TypedTableBaseExtensions.cs: directly
	fallback to Linq to Objects.


svn path=/trunk/mcs/; revision=103103
2008-05-13 17:35:38 +00:00
Atsushi Eno 7dace639ff 2008-05-13 Atsushi Enomoto <[email protected]>
* DataTableExtensions.cs, EnumerableRowCollection.cs,
	  EnumerableRowCollectionExtensions.cs, EnumerableRowCollection_1.cs,
	  OrderedEnumerableRowCollection.cs, TypedTableBase.cs,
	  TypedTableBaseExtensions.cs : lots of significant refactoring to
	  make collection/enumerable things unified.
	  Implemented OrderBy() and OrderByDescending().

	* EnumerableRowCollectionTest.cs : added tests for orderby (though
	  commented out; they do not compile).


svn path=/trunk/mcs/; revision=103095
2008-05-13 16:48:55 +00:00
Marek Habersack 7a4158555f 2008-05-13 Marek Habersack <[email protected]>
* DataRowComparer_1.cs: implemented GetHashCode and Equals.

svn path=/trunk/mcs/; revision=103092
2008-05-13 16:44:39 +00:00
Atsushi Eno fec96a3ef1 2008-05-13 Atsushi Enomoto <[email protected]>
* System.Data.DataSetExtensions_test.dll.sources : new.

	* DataTableExtensions.cs : implemented AsEnumerable().
	* DataRowExtensions.cs : implemented.
	* EnumerableRowCollection_1.cs : implemented.
	* EnumerableRowCollectionExtensions.cs :
	  implemented Select() and Where().
	* OrderedEnumerableRowCollection.cs : base is not parameterless now.
	* TypedTableBaseExtensions.cs:
	  some overloads can just delegate to others.
	* DataRowComparer_1.cs : (added some non-working code.)

	* DataRowComparerTest.cs, EnumerableRowCollectionTest.cs,
	  testdataset1.xml : new tests.


svn path=/trunk/mcs/; revision=103079
2008-05-13 14:02:22 +00:00
Atsushi Eno 61ca81d6d7 2008-05-13 Atsushi Enomoto <[email protected]>
* Makefile : make it build under net_2_0 build profile.

	* DataRowComparer.cs, DataRowComparer_1.cs, DataRowExtensions.cs,
	  DataTableExtensions.cs, EnumerableRowCollection.cs,
	  EnumerableRowCollectionExtensions.cs, EnumerableRowCollection_1.cs,
	  OrderedEnumerableRowCollection.cs, TypedTableBase.cs,
	  TypedTableBaseExtensions.cs : stubbed all.


svn path=/trunk/mcs/; revision=103062
2008-05-13 08:32:34 +00:00