Ver Fonte

* DataTableReader.cs: GetSchemaTable: DataType column should be
passed a type of Type.


svn path=/trunk/mcs/; revision=47081

Sureshkumar T há 20 anos atrás
pai
commit
4ebe4487d1

+ 3 - 0
mcs/class/System.Data/System.Data/ChangeLog

@@ -1,5 +1,8 @@
 2005-07-08  Sureshkumar T  <[email protected]>
 
+	* DataTableReader.cs: GetSchemaTable: DataType column should be
+	passed a type of Type.
+
 	* DataRow.cs: Load : Fired necessary events.
 
 	* DataTable.cs: LoadDataRow (object [], LoadOption): Fired

+ 1 - 1
mcs/class/System.Data/System.Data/DataTableReader.cs

@@ -329,7 +329,7 @@ namespace System.Data {
                                 row ["NumericScale"]    = DBNull.Value;
                                 row ["IsUnique"]        = DBNull.Value;
                                 row ["IsKey"]           = DBNull.Value;
-                                row ["DataType"]        = column.DataType.ToString ();
+                                row ["DataType"]        = column.DataType;
                                 row ["AllowDBNull"]     = column.AllowDBNull;
                                 row ["IsAliased"]       = DBNull.Value;
                                 row ["IsExpression"]    = DBNull.Value;