Skip to content

IColumnInfo Interface ​

Definition ​

Represents metadata about a database column, including its data type, default value, and constraints.

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Properties ​

NameDescription
ComputedDefinitionThe definition for the computed value within a computed field
ConstraintsGets the list of constraints defined for the column (e.g., CHECK, FOREIGN KEY).
DataTypeGets the high-level data type of the column (e.g., Character, Numeric, DateTime).
DbTypeGets the database level DbType
DefaultGets the default value assigned to the column, used during table creation or schema modification.
IndexesGets the list of indexes referencing to this column.
IsComputedSpecifies that column contains a computed value derived from ComputedDefinition
IsDatabaseDefinitionReturns true when the ColumnInfo was derived from or verified with database structure
IsImmutableWhen true, columns are not allowed to be modified after INSERT
IsPrimaryKeyReturns true if the column is the table's primary key
NullableIndicates whether the column allows null values.
OldNamePrevious name for a column, used to determine if a new column should be added or an existing RENAME'd
OrdinalPositionIndicates the column index on the table row when derived from database data. Otherwise -1
PropertyInfoPropertyInfo of the class Property when derived from a class object
PropertyNameName of the class Property when derived from a class object
PropertyTypeResolves likely C# datatype based on DataValueType and min/max values
SqlDatatypePopulates with SQL datatype when derived from a database schema