SchemaTableColumn.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Common / SchemaTableColumn.cs / 1305376 / SchemaTableColumn.cs

                            //------------------------------------------------------------------------------ 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// [....] 
//-----------------------------------------------------------------------------
 
namespace System.Data.Common { 

    // required columns that DataAdapter.Fill(Schema) will pay attention to 
    // when constructing new DataColumns to add to a DataTable
    public static class SchemaTableColumn {

        public static readonly string ColumnName               = "ColumnName"; 
        public static readonly string ColumnOrdinal            = "ColumnOrdinal";
        public static readonly string ColumnSize               = "ColumnSize"; 
        public static readonly string NumericPrecision         = "NumericPrecision"; 
        public static readonly string NumericScale             = "NumericScale";
 
        public static readonly string DataType                 = "DataType";
        public static readonly string ProviderType             = "ProviderType";
        public static readonly string NonVersionedProviderType = "NonVersionedProviderType";
 
        public static readonly string IsLong                   = "IsLong";
        public static readonly string AllowDBNull              = "AllowDBNull"; 
        public static readonly string IsAliased                = "IsAliased"; 
        public static readonly string IsExpression             = "IsExpression";
        public static readonly string IsKey                    = "IsKey"; 
        public static readonly string IsUnique                 = "IsUnique";

        public static readonly string BaseSchemaName           = "BaseSchemaName";
        public static readonly string BaseTableName            = "BaseTableName"; 
        public static readonly string BaseColumnName           = "BaseColumnName";
    } 
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// [....] 
//-----------------------------------------------------------------------------
 
namespace System.Data.Common { 

    // required columns that DataAdapter.Fill(Schema) will pay attention to 
    // when constructing new DataColumns to add to a DataTable
    public static class SchemaTableColumn {

        public static readonly string ColumnName               = "ColumnName"; 
        public static readonly string ColumnOrdinal            = "ColumnOrdinal";
        public static readonly string ColumnSize               = "ColumnSize"; 
        public static readonly string NumericPrecision         = "NumericPrecision"; 
        public static readonly string NumericScale             = "NumericScale";
 
        public static readonly string DataType                 = "DataType";
        public static readonly string ProviderType             = "ProviderType";
        public static readonly string NonVersionedProviderType = "NonVersionedProviderType";
 
        public static readonly string IsLong                   = "IsLong";
        public static readonly string AllowDBNull              = "AllowDBNull"; 
        public static readonly string IsAliased                = "IsAliased"; 
        public static readonly string IsExpression             = "IsExpression";
        public static readonly string IsKey                    = "IsKey"; 
        public static readonly string IsUnique                 = "IsUnique";

        public static readonly string BaseSchemaName           = "BaseSchemaName";
        public static readonly string BaseTableName            = "BaseTableName"; 
        public static readonly string BaseColumnName           = "BaseColumnName";
    } 
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK