2 // System.Data.Common.SchemaInfo.cs
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) Tim Coleman, 2002
12 namespace System.Data.Common {
14 // FIXME: This needs to be cleaned up to be compatible with both versions.
15 // Unfortunately, the SchemaInfo class we made is different from the MS
16 // version which is now public.
17 public class SchemaInfo
19 internal class SchemaInfo
44 #endregion // Constructors
48 public bool AllowDBNull {
49 get { return allowDBNull; }
50 set { allowDBNull = value; }
53 public string ColumnName {
54 get { return columnName; }
55 set { columnName = value; }
58 public int ColumnOrdinal {
59 get { return ordinal; }
60 set { ordinal = value; }
63 public int ColumnSize {
68 public String DataTypeName {
69 get { return dataTypeName; }
70 set { dataTypeName = value; }
73 public Type FieldType {
74 get { return fieldType; }
75 set { fieldType = value; }
78 public byte NumericPrecision {
79 get { return precision; }
80 set { precision = value; }
83 public byte NumericScale {
85 set { scale = value; }
88 public string TableName {
89 get { return tableName; }
90 set { tableName = value; }
93 public bool IsReadOnly {
94 get { return isReadOnly; }
95 set { isReadOnly = value; }
98 #endregion // Properties