Author: atsushi
Date: 2005-04-13 11:52:34 -0400 (Wed, 13 Apr 2005)
New Revision: 42924
Modified:
trunk/mcs/class/System.Data/System.Data/ChangeLog
trunk/mcs/class/System.Data/System.Data/CustomDataClassGenerator.cs
trunk/mcs/class/System.Data/System.Data/DataTable.cs
Log:
2005-04-13 Atsushi Enomoto <[EMAIL PROTECTED]>
* DataTable.cs : Use GetRowType() for the base of the returning array
type of Select(). Fix by Gerhard Rittweger.
* CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
Modified: trunk/mcs/class/System.Data/System.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/System.Data/ChangeLog 2005-04-13 15:22:11 UTC
(rev 42923)
+++ trunk/mcs/class/System.Data/System.Data/ChangeLog 2005-04-13 15:52:34 UTC
(rev 42924)
@@ -1,5 +1,11 @@
2005-04-13 Atsushi Enomoto <[EMAIL PROTECTED]>
+ * DataTable.cs : Use GetRowType() for the base of the returning array
+ type of Select(). Fix by Gerhard Rittweger.
+ * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
+
+2005-04-13 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* CustomDataClassGenerator.cs : custom relation was not added to
Relations property. The second entry of bug #69276 was fixed.
Patch by Daniel Rodriguez.
Modified: trunk/mcs/class/System.Data/System.Data/CustomDataClassGenerator.cs
===================================================================
--- trunk/mcs/class/System.Data/System.Data/CustomDataClassGenerator.cs
2005-04-13 15:22:11 UTC (rev 42923)
+++ trunk/mcs/class/System.Data/System.Data/CustomDataClassGenerator.cs
2005-04-13 15:52:34 UTC (rev 42924)
@@ -249,7 +249,7 @@
this.ds = ds;
this.cns = cns;
this.gen = gen;
- this.opts = opts;
+ this.opts = options;
if (opts == null)
opts = DefaultOptions;
Modified: trunk/mcs/class/System.Data/System.Data/DataTable.cs
===================================================================
--- trunk/mcs/class/System.Data/System.Data/DataTable.cs 2005-04-13
15:22:11 UTC (rev 42923)
+++ trunk/mcs/class/System.Data/System.Data/DataTable.cs 2005-04-13
15:52:34 UTC (rev 42924)
@@ -1314,7 +1314,7 @@
}
}
- DataRow[] dataRows =
(DataRow[])rowList.ToArray(typeof(DataRow));
+ DataRow[] dataRows =
(DataRow[])rowList.ToArray(GetRowType ());
if (sortableColumns != null) {
RowSorter rowSorter = new RowSorter (this,
sortableColumns);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches