TableColumn

Models the information of a table column.

Namespace:
KpokPatagon.Data.DatabaseSchema
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No

Properties

CharacterLength

The maximum length of a character column.

Signature:
public Nullable<Int32> CharacterLength { get; set; }

Constraints

A collection of constraints for this column.

Signature:
public List<ColumnConstraint> Constraints { get; set; }

DataType

Data type of the column.

Signature:
public DbType DataType { get; set; }

IdentityIncrement

For autonumeric columns this specifies the increment value.

Signature:
public Int32 IdentityIncrement { get; set; }

IdentitySeed

For autonumeric columns this specifies the seed value.

Signature:
public Int64 IdentitySeed { get; set; }

IsAutonumeric

Indicates if the column is autonumeric.

Signature:
public Boolean IsAutonumeric { get; set; }

IsNullable

Indicates if the column is nullable.

Signature:
public Boolean IsNullable { get; set; }

Name

Name of the column.

Signature:
public String Name { get; set; }

Position

Position of the column in the table.

Signature:
public Int32 Position { get; set; }

Precision

Numeric precision.

Signature:
public Nullable<Int32> Precision { get; set; }

Scale

Numeric scale.

Signature:
public Nullable<Int32> Scale { get; set; }

Methods

ToString

Returns a textual representation of the TableColumn.

Signature:
public String ToString()