SchemaTableColumn.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536
  1. //------------------------------------------------------------------------------
  2. // <copyright file="SchemaTableColumn.cs" company="Microsoft">
  3. // Copyright (c) Microsoft Corporation. All rights reserved.
  4. // </copyright>
  5. // <owner current="true" primary="true">Microsoft</owner>
  6. //------------------------------------------------------------------------------
  7. namespace System.Data.Common {
  8. // required columns that DataAdapter.Fill(Schema) will pay attention to
  9. // when constructing new DataColumns to add to a DataTable
  10. public static class SchemaTableColumn {
  11. public static readonly string ColumnName = "ColumnName";
  12. public static readonly string ColumnOrdinal = "ColumnOrdinal";
  13. public static readonly string ColumnSize = "ColumnSize";
  14. public static readonly string NumericPrecision = "NumericPrecision";
  15. public static readonly string NumericScale = "NumericScale";
  16. public static readonly string DataType = "DataType";
  17. public static readonly string ProviderType = "ProviderType";
  18. public static readonly string NonVersionedProviderType = "NonVersionedProviderType";
  19. public static readonly string IsLong = "IsLong";
  20. public static readonly string AllowDBNull = "AllowDBNull";
  21. public static readonly string IsAliased = "IsAliased";
  22. public static readonly string IsExpression = "IsExpression";
  23. public static readonly string IsKey = "IsKey";
  24. public static readonly string IsUnique = "IsUnique";
  25. public static readonly string BaseSchemaName = "BaseSchemaName";
  26. public static readonly string BaseTableName = "BaseTableName";
  27. public static readonly string BaseColumnName = "BaseColumnName";
  28. }
  29. }