Class TableParameterColumn
One column of a TableParameterValue as resolved for binding: its provider column name, the CLR type bound for it (converter/duration/enum aware) and a getter that reads and normalizes the value from a row.
public sealed class TableParameterColumn
- Inheritance
-
TableParameterColumn
- Inherited Members
- Extension Methods
Properties
ClrType
The CLR type bound for the column: the value converter's provider type when one is mapped, the underlying numeric type for an enum and, on a provider without a native duration type, the integer type a TimeSpan is stored as; otherwise the property type.
public Type ClrType { get; }
Property Value
DecimalPrecision
The decimal precision declared for the mapped property (the total number of digits), or null when the column is not a decimal or the property declares none. A provider that needs a column precision (for example the table-valued parameter column metadata of SQL Server and ClickHouse) uses it; otherwise the provider default applies.
public int? DecimalPrecision { get; }
Property Value
- int?
DecimalScale
The decimal scale declared for the mapped property (the number of digits to the right of the decimal point), or null when the column is not a decimal or the property declares none.
public int? DecimalScale { get; }
Property Value
- int?
Name
The provider column name (naming convention applied to auto names).
public string Name { get; }
Property Value
Methods
GetValue(object)
Reads and normalizes the column's value from row.
public object? GetValue(object row)