The DbColumn type exposes the following members.

Constructors

  NameDescription
DbColumnOverloaded.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetSqlColumnName
Gets the SQL column name for this column.
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.)

Fields

  NameDescription
m_bIdentity
Is this an IDENTITY column?
m_bPrimaryKey
Does this column belong to the PRIMARY KEY?
m_bRowGuid
Is this a ROWGUIDCOL?
m_dwFlags
Column flags.
m_nIncr
Increment value for the IDENTITY column.
m_nOrdinal
Column ordinal.
m_nPrecision
Decimal precision.
m_nScale
Decimal scale.
m_nSeed
Seed value for the IDENTITY column.
m_nSize
Column size.
m_nUserInt
User-defined integer value.
m_strDefault
Column default expression.
m_strName
Column name.
m_strSchema
Column schema.
m_type
Column type.
m_userData
User-defined object value.

Properties

  NameDescription
Default
Gets or sets the column default value.
Flags
Gets or sets the column flags.
Identity
Gets or sets the IDENTITY status.
Increment
Gets or sets the IDENTITY column increment value.
IsFixedLength
Gets or sets the fixed length status of the column.
IsIdentity
Gets or sets the IDENTITY status.
IsKey
Gets a flag that determines if this column belongs to the primary key.
IsLong
Gets or sets a value that determines if this column is long (a BLOB).
IsNullable
Gets or sets the nullability flag.
IsReadOnly
Gets a boolean value that determines if the column is read-only.
IsRowGuid
Gets a value that determines if a column is a row guid
IsRowVersion
Gets or sets a value that determines if this column is a row version
Name
Gets or sets the column name.
Ordinal
Gets or sets the column ordinal.
Precision
Gets or sets the numeric precision.
RowGuid
Gets a value that determines if a column is a row guid
Scale
Gets or sets the numeric scale.
Schema
Gets or sets the column schema.
Seed
Gets or sets the seed value for IDENTITY columns.
Size
Gets or sets the column size.
Type
Gets or sets the column type.
UserData
Gets or sets the column user data.
UserInt
Gets or sets the user-defined integer value.

See Also