DbColumn Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a column within a data source.
public ref class DbColumn abstract
public abstract class DbColumn
type DbColumn = class
Public MustInherit Class DbColumn
- Inheritance
-
DbColumn
Constructors
DbColumn() |
Initializes a new instance of the DbColumn class. |
Properties
AllowDBNull |
Gets a nullable boolean value that indicates whether |
BaseCatalogName |
Gets the catalog name associated with the data source; otherwise, |
BaseColumnName |
Gets the base column name; otherwise, |
BaseSchemaName |
Gets the schema name associated with the data source; otherwise, |
BaseServerName |
Gets the server name associated with the column; otherwise, |
BaseTableName |
Gets the table name in the schema; otherwise, |
ColumnName |
Gets the name of the column. Can be set to the column name when overridden in a derived class. |
ColumnOrdinal |
Gets the column position (ordinal) in the datasource row; otherwise, |
ColumnSize |
Gets the column size; otherwise, |
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 |
Gets the name of the data type; otherwise, |
IsAliased |
Gets a nullable boolean value that indicates whether this column is aliased, or returns |
IsAutoIncrement |
Gets a nullable boolean value that indicates whether values in this column are automatically incremented, or returns |
IsExpression |
Gets a nullable boolean value that indicates whether this column is an expression, or returns |
IsHidden |
Gets a nullable boolean value that indicates whether this column is hidden, or returns |
IsIdentity |
Gets a nullable boolean value that indicates whether this column is an identity, or returns |
IsKey |
Gets a nullable boolean value that indicates whether this column is a key, or returns |
IsLong |
Gets a nullable boolean value that indicates whether this column contains long data, or returns |
IsReadOnly |
Gets a nullable boolean value that indicates whether this column is read-only, or returns |
IsUnique |
Gets a nullable boolean value that indicates whether a unique constraint applies to this column, or returns |
Item[String] |
Gets the object based on the column property name. |
NumericPrecision |
Gets the numeric precision of the column data; otherwise, |
NumericScale |
Gets a nullable |
UdtAssemblyQualifiedName |
Gets the assembly-qualified name of the Type object that represents the type of data in the column; otherwise, |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |