Class DbMetaColumn
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
DataType
Gets or sets the data type name (e.g., varchar, integer, timestamp).
public string DataType { get; set; }
Property Value
DefaultValue
Gets or sets the default value expression.
public string DefaultValue { get; set; }
Property Value
DisplayText
Gets a descriptive, formatted string representation of the column metadata.
public override string DisplayText { get; }
Property Value
Expression
Gets or sets the computed column expression.
public string Expression { get; set; }
Property Value
IsComputed
Gets or sets a value indicating whether the column value is calculated or computed.
public bool IsComputed { get; set; }
Property Value
IsIdentity
Gets or sets a value indicating whether the column is an identity or auto-increment column.
public bool IsIdentity { get; set; }
Property Value
IsNullable
Gets or sets a value indicating whether the column accepts null values.
public bool IsNullable { get; set; }
Property Value
OrdinalPosition
Gets or sets the 1-based index position of the column within the table schema.
public int OrdinalPosition { get; set; }
Property Value
Precision
Gets or sets the numeric precision.
public int Precision { get; set; }
Property Value
Scale
Gets or sets the numeric scale.
public int Scale { get; set; }
Property Value
SizeInBytes
Gets or sets the maximum byte length for string or binary columns.
public int SizeInBytes { get; set; }
Property Value
SizeInChars
Gets or sets the maximum character length for string columns.
public int SizeInChars { get; set; }