Interface IColumnMetadata
Column metadata.
public interface IColumnMetadata
Properties
Name
Gets the column name.
string Name { get; }
Property Value
Nullable
Gets a value indicating whether the column is nullable.
bool Nullable { get; }
Property Value
Origin
Gets the column origin.
For example, for "select foo as bar" query, column name will be "bar", but origin name will be "foo".IColumnOrigin? Origin { get; }
Property Value
Precision
Gets the column precision, or -1 when not applicable to the current column type.
int Precision { get; }
Property Value
- int
Number of decimal digits for exact numeric types; number of decimal digits in mantissa for approximate numeric types; number of decimal digits for fractional seconds of datetime types; length in characters for character types; length in bytes for binary types; length in bits for bit types; 1 for BOOLEAN; -1 if precision is not valid for the type.
Scale
Gets the column scale.
int Scale { get; }
Property Value
Type
Gets the column type.
ColumnType Type { get; }