Class ColumnInfo
Information about a table column.
public sealed class ColumnInfo
- Inheritance
-
ColumnInfo
- Inherited Members
Properties
DataType
Column data type.
[JsonPropertyName("dataType")]
public string DataType { get; init; }
Property Value
IsNullable
Whether the column allows null values.
[JsonPropertyName("isNullable")]
public bool IsNullable { get; init; }
Property Value
IsPrimaryKey
Whether this is a primary key column.
[JsonPropertyName("isPrimaryKey")]
public bool IsPrimaryKey { get; init; }
Property Value
MaxLength
Maximum length for character types.
[JsonPropertyName("maxLength")]
public int? MaxLength { get; init; }
Property Value
- int?
Name
Column name.
[JsonPropertyName("name")]
public string Name { get; init; }