DbColumn DbColumn DbColumn DbColumn Class

Definition

Represents a column within a data source.

public ref class DbColumn abstract
public abstract class DbColumn
type DbColumn = class
Public MustInherit Class DbColumn
Inheritance
DbColumnDbColumnDbColumnDbColumn

Constructors

DbColumn() DbColumn() DbColumn() DbColumn()

Initializes a new instance of the DbColumn class.

Properties

AllowDBNull AllowDBNull AllowDBNull AllowDBNull

Gets a nullable boolean value that indicates whether DBNull values are allowed in this column, or returns null if no value is set. Can be set to either true or false indicating whether DBNull values are allowed in this column, or null (Nothing in Visual Basic) when overridden in a derived class.

BaseCatalogName BaseCatalogName BaseCatalogName BaseCatalogName

Gets the catalog name associated with the data source; otherwise, null if no value is set. Can be set to either the catalog name or null when overridden in a derived class.

BaseColumnName BaseColumnName BaseColumnName BaseColumnName

Gets the base column name; otherwise, null if no value is set. Can be set to either the column name or null when overridden in a derived class.

BaseSchemaName BaseSchemaName BaseSchemaName BaseSchemaName

Gets the schema name associated with the data source; otherwise, null if no value is set. Can be set to either the schema name or null when overridden in a derived class.

BaseServerName BaseServerName BaseServerName BaseServerName

Gets the server name associated with the column; otherwise, null if no value is set. Can be set to either the server name or null when overridden in a derived class.

BaseTableName BaseTableName BaseTableName BaseTableName

Gets the table name in the schema; otherwise, null if no value is set. Can be set to either the table name or null when overridden in a derived class.

ColumnName ColumnName ColumnName ColumnName

Gets the name of the column. Can be set to the column name when overridden in a derived class.

ColumnOrdinal ColumnOrdinal ColumnOrdinal ColumnOrdinal

Gets the column position (ordinal) in the datasource row; otherwise, null if no value is set. Can be set to either an int32 value to specify the column position or null when overridden in a derived class.

ColumnSize ColumnSize ColumnSize ColumnSize

Gets the column size; otherwise, null if no value is set. Can be set to either an int32 value to specify the column size or null when overridden in a derived class.

DataType DataType DataType DataType

Gets the type of data stored in the column. Can be set to a Type object that represents the type of data in the column when overridden in a derived class.

DataTypeName DataTypeName DataTypeName DataTypeName

Gets the name of the data type; otherwise, null if no value is set. Can be set to either the data type name or null when overridden in a derived class.

IsAliased IsAliased IsAliased IsAliased

Gets a nullable boolean value that indicates whether this column is aliased, or returns null if no value is set. Can be set to either true or false indicating whether this column is aliased, or null (Nothing in Visual Basic) when overridden in a derived class.

IsAutoIncrement IsAutoIncrement IsAutoIncrement IsAutoIncrement

Gets a nullable boolean value that indicates whether values in this column are automatically incremented, or returns null if no value is set. Can be set to either true or false indicating whether values in this column are automatically incremented, or null (Nothing in Visual Basic) when overridden in a derived class.

IsExpression IsExpression IsExpression IsExpression

Gets a nullable boolean value that indicates whether this column is an expression, or returns null if no value is set. Can be set to either true or false indicating whether this column is an expression, or null (Nothing in Visual Basic) when overridden in a derived class.

IsHidden IsHidden IsHidden IsHidden

Gets a nullable boolean value that indicates whether this column is hidden, or returns null if no value is set. Can be set to either true or false indicating whether this column is hidden, or null (Nothing in Visual Basic) when overridden in a derived class.

IsIdentity IsIdentity IsIdentity IsIdentity

Gets a nullable boolean value that indicates whether this column is an identity, or returns null if no value is set. Can be set to either true or false indicating whether this column is an identity, or null (Nothing in Visual Basic) when overridden in a derived class.

IsKey IsKey IsKey IsKey

Gets a nullable boolean value that indicates whether this column is a key, or returns null if no value is set. Can be set to either true or false indicating whether this column is a key, or null (Nothing in Visual Basic) when overridden in a derived class.

IsLong IsLong IsLong IsLong

Gets a nullable boolean value that indicates whether this column contains long data, or returns null if no value is set. Can be set to either true or false indicating whether this column contains long data, or null (Nothing in Visual Basic) when overridden in a derived class.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets a nullable boolean value that indicates whether this column is read-only, or returns null if no value is set. Can be set to either true or false indicating whether this column is read-only, or null (Nothing in Visual Basic) when overridden in a derived class.

IsUnique IsUnique IsUnique IsUnique

Gets a nullable boolean value that indicates whether a unique constraint applies to this column, or returns null if no value is set. Can be set to either true or false indicating whether a unique constraint applies to this column, or null (Nothing in Visual Basic) when overridden in a derived class.

Item[String] Item[String] Item[String] Item[String]

Gets the object based on the column property name.

NumericPrecision NumericPrecision NumericPrecision NumericPrecision

Gets the numeric precision of the column data; otherwise, null if no value is set. Can be set to either an int32 value to specify the numeric precision of the column data or null when overridden in a derived class.

NumericScale NumericScale NumericScale NumericScale

Gets a nullable int32 value that either returns null or the numeric scale of the column data. Can be set to either null or an int32 value for the numeric scale of the column data when overridden in a derived class.

UdtAssemblyQualifiedName UdtAssemblyQualifiedName UdtAssemblyQualifiedName UdtAssemblyQualifiedName

Gets the assembly-qualified name of the Type object that represents the type of data in the column; otherwise, null if no value is set. Can be set to either the assembly-qualified name or null when overridden in a derived class.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to