Skip to main content

DBColumn Members

The schema of a column in a DBTable.

Constructors

Name Description
DBColumn() Initializes a new instance of the DBColumn class with default settings.
DBColumn(String, Boolean, String, Int32, DBColumnType, Boolean, Object)
DBColumn(String, Boolean, String, Int32, DBColumnType) Initializes a new instance of the DBColumn class with the specified settings.

Fields

Name Description
ColumnType Specifies the column’s type.
DbDefaultValue
DBTypeName Specifies the name of the column data type.
DefaultValue
IsIdentity true if the value of the column increments automatically; otherwise, false. The default value is false.
IsKey true if the column is the key column; otherwise, false.
IsNullable
Name Specifies the column’s name.
Size The maximum length of a text column. This is ignored for non-text columns.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetColumnType(Type, Boolean) static Gets the column type of the specified runtime type.
GetColumnType(Type) static Gets the column type of the specified runtime type.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
GetType(DBColumnType) static Gets the runtime type of the specified column type.
IsStorableType(DBColumnType) static Indicates whether values of the specified column type can be saved to a database.
IsStorableType(Type) static Indicates whether values of the specified runtime type can be saved to a database.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also