2002-11-01 Tim Coleman (tim@timcoleman.com) :
authorTim Coleman <tim@mono-cvs.ximian.com>
Fri, 1 Nov 2002 13:32:37 +0000 (13:32 -0000)
committerTim Coleman <tim@mono-cvs.ximian.com>
Fri, 1 Nov 2002 13:32:37 +0000 (13:32 -0000)
        * System.Data.Common/DbEnumerator.cs :
        * System.Data.SqlClient/SqlDataReader.cs :
                Add ColumnSize to schema table.

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

mcs/class/System.Data/ChangeLog
mcs/class/System.Data/System.Data.Common/DbEnumerator.cs
mcs/class/System.Data/System.Data.SqlClient/SqlDataReader.cs

index af526b7c8c46392729913a68c4216a71cd0e723c..db32a03a402eed481d8c1a7cf8822cd0326c0afb 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-01  Tim Coleman (tim@timcoleman.com) :
+       * System.Data.Common/DbEnumerator.cs :
+       * System.Data.SqlClient/SqlDataReader.cs :
+               Add ColumnSize to schema table.
+
 2002-10-31  Tim Coleman (tim@timcoleman.com)
         * System.Data.Common/DbDataAdapter.cs :
                 Fix handling of nulls
index e5d17480eaa89ac412e50c34238430828a146379..7afa09c82871304136b5afc2a8451d5958baec66 100644 (file)
@@ -68,6 +68,7 @@ namespace System.Data.Common {
                                columnSchema.AllowDBNull = (bool) row ["AllowDBNull"];
                                columnSchema.ColumnName = row ["ColumnName"].ToString ();
                                columnSchema.ColumnOrdinal = (int) row ["ColumnOrdinal"];
+                               columnSchema.ColumnSize = (int) row ["ColumnSize"];
                                columnSchema.DataTypeName = reader.GetDataTypeName (index);
                                columnSchema.FieldType = reader.GetFieldType (index);
                                columnSchema.IsReadOnly = (bool) row ["IsReadOnly"];
index 3f07d5b45b61805f666fb0228400e7d67a5f07bb..050c621ca22960ebf316dfdb097db199af57f93b 100644 (file)
@@ -399,6 +399,7 @@ namespace System.Data.SqlClient {
                                }
 
                                row ["ColumnOrdinal"] = schema.ColumnOrdinal;
+                               row ["ColumnSize"] = schema.ColumnSize;
                                row ["AllowDBNull"] = schema.AllowDBNull;
                                row ["IsReadOnly"] = schema.IsReadOnly;
                                row ["IsIdentity"] = schema.IsIdentity;