Table of Contents

Class DbMetaColumn

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

Represents metadata for a database table column.

public class DbMetaColumn : DbMetaObject
Inheritance
DbMetaColumn
Inherited Members
Extension Methods

Properties

DataSubType

Gets or sets the database-specific data sub-type (e.g., VARCHAR to CHARACTER VARYING in Firebird).

public string DataSubType { get; set; }

Property Value

string

DataType

Gets or sets the data type name (e.g., varchar, integer, timestamp).

public string DataType { get; set; }

Property Value

string

DefaultValue

Gets or sets the default value expression.

public string DefaultValue { get; set; }

Property Value

string

DisplayText

Gets a descriptive, formatted string representation of the column metadata.

public override string DisplayText { get; }

Property Value

string

Expression

Gets or sets the computed column expression.

public string Expression { get; set; }

Property Value

string

IsComputed

Gets or sets a value indicating whether the column value is calculated or computed.

public bool IsComputed { get; set; }

Property Value

bool

IsIdentity

Gets or sets a value indicating whether the column is an identity or auto-increment column.

public bool IsIdentity { get; set; }

Property Value

bool

IsNullable

Gets or sets a value indicating whether the column accepts null values.

public bool IsNullable { get; set; }

Property Value

bool

OrdinalPosition

Gets or sets the 1-based index position of the column within the table schema.

public int OrdinalPosition { get; set; }

Property Value

int

Precision

Gets or sets the numeric precision.

public int Precision { get; set; }

Property Value

int

Scale

Gets or sets the numeric scale.

public int Scale { get; set; }

Property Value

int

SizeInBytes

Gets or sets the maximum byte length for string or binary columns.

public int SizeInBytes { get; set; }

Property Value

int

SizeInChars

Gets or sets the maximum character length for string columns.

public int SizeInChars { get; set; }

Property Value

int