2 // System.Data.Common.SchemaInfo.cs
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) Tim Coleman, 2002
10 namespace System.Data.Common {
11 internal class SchemaInfo
35 #endregion // Constructors
39 public string TableName {
40 get { return tableName; }
41 set { tableName = value; }
44 public int ColumnOrdinal {
45 get { return ordinal; }
46 set { ordinal = value; }
49 public byte NumericPrecision {
50 get { return precision; }
51 set { precision = value; }
54 public byte NumericScale {
56 set { scale = value; }
59 public int ColumnSize {
64 public string ColumnName {
65 get { return columnName; }
66 set { columnName = value; }
69 public String DataTypeName {
70 get { return dataTypeName; }
71 set { dataTypeName = value; }
74 public bool AllowDBNull {
75 get { return nullable; }
76 set { nullable = value; }
79 public bool IsReadOnly {
80 get { return writable; }
81 set { writable = value; }
84 public Type FieldType {
85 get { return fieldType; }
86 set { fieldType = value; }
89 #endregion // Properties