Wrapper around a DbColumn, which provides extra functionality, but can be used as a
regular DbColumn
Inheritance
System.Object
System.Data.Common.DbColumn
DbColumnWrapper
Inherited Members
System.Data.Common.DbColumn.BaseSchemaName
System.Data.Common.DbColumn.Item[System.String]
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
Assembly:Microsoft.SqlTools.ServiceLayer.dll
public class DbColumnWrapper : DbColumn
Constructors
|
Improve this Doc
View Source
Default constructor, used for deserializing JSON RPC only
Declaration
|
Improve this Doc
View Source
Constructor for a DbColumnWrapper
Declaration
public DbColumnWrapper(DbColumn column)
Parameters
| Type |
Name |
Description |
| System.Data.Common.DbColumn |
column |
The column we're wrapping around
|
Properties
|
Improve this Doc
View Source
Declaration
public bool ? AllowDBNull { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Declaration
public string BaseCatalogName { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public string BaseColumnName { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public string BaseServerName { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public string BaseTableName { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Override for column name, if null or empty, we default to a "no column name" value
Declaration
public string ColumnName { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public int ? ColumnOrdinal { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
|
Improve this Doc
View Source
Declaration
public int ? ColumnSize { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
|
Improve this Doc
View Source
Declaration
public Type DataType { get; }
Property Value
| Type |
Description |
| System.Type |
|
|
Improve this Doc
View Source
Declaration
public string DataTypeName { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public bool ? IsAliased { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Declaration
public bool ? IsAutoIncrement { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Whether or not the column is bytes
Declaration
public bool IsBytes { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Whether or not the column is a character type
Declaration
public bool IsChars { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool ? IsExpression { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Declaration
public bool ? IsHidden { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Declaration
public bool ? IsIdentity { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Whether or not the column is JSON
Declaration
public bool IsJson { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool ? IsKey { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Whether or not the column is a long type (eg, varchar(MAX))
Declaration
public bool IsLong { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool ? IsReadOnly { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Whether or not the column is a SqlVariant type
Declaration
public bool IsSqlVariant { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Whether or not the column is a user-defined type
Declaration
public bool IsUdt { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool ? IsUnique { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
Whether or not the column is XML
Declaration
public bool IsXml { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public int ? NumericPrecision { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
|
Improve this Doc
View Source
Declaration
public int ? NumericScale { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
|
Improve this Doc
View Source
Declaration
public string UdtAssemblyQualifiedName { get; }
Property Value
| Type |
Description |
| System.String |
|