Class ColumnSchema
- Namespace
- LinqToDB.SchemaProvider
- Assembly
- linq2db.dll
Describes table column.
public class ColumnSchema
- Inheritance
-
ColumnSchema
- Extension Methods
Fields
Table
Gets column owner schema.
public TableSchema Table
Field Value
Properties
ColumnName
Gets column name.
public string ColumnName { get; set; }
Property Value
ColumnType
Gets db-specific column type.
public string? ColumnType { get; set; }
Property Value
DataType
Gets column type as DataType enumeration value.
public DataType DataType { get; set; }
Property Value
Description
Gets column description.
public string? Description { get; set; }
Property Value
IsIdentity
Gets flag indicating that it is identity column.
public bool IsIdentity { get; set; }
Property Value
IsNullable
Gets flag indicating that it is nullable column.
public bool IsNullable { get; set; }
Property Value
IsPrimaryKey
Gets flag indicating that column is a part of primary key.
public bool IsPrimaryKey { get; set; }
Property Value
Length
Gets column type length.
public int? Length { get; set; }
Property Value
- int?
MemberName
Gets C# friendly column name.
public string MemberName { get; set; }
Property Value
MemberType
Gets .net column type as a string.
public string MemberType { get; set; }
Property Value
Ordinal
Column ordinal.
public int? Ordinal { get; set; }
Property Value
- int?
Precision
Gets column type precision.
public int? Precision { get; set; }
Property Value
- int?
PrimaryKeyOrder
Gets position of column in composite primary key.
public int PrimaryKeyOrder { get; set; }
Property Value
ProviderSpecificType
Gets provider-specific .net column type as a string.
public string? ProviderSpecificType { get; set; }
Property Value
Scale
Gets column type scale.
public int? Scale { get; set; }
Property Value
- int?
SkipOnInsert
Gets flag indicating that insert operations without explicit column setter should ignore this column.
public bool SkipOnInsert { get; set; }
Property Value
SkipOnUpdate
Gets flag indicating that update operations without explicit column setter should ignore this column.
public bool SkipOnUpdate { get; set; }
Property Value
SystemType
Gets .net column type.
public Type? SystemType { get; set; }