Table of Contents

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

TableSchema

Properties

ColumnName

Gets column name.

public string ColumnName { get; set; }

Property Value

string

ColumnType

Gets db-specific column type.

public string? ColumnType { get; set; }

Property Value

string

DataType

Gets column type as DataType enumeration value.

public DataType DataType { get; set; }

Property Value

DataType

Description

Gets column description.

public string? Description { get; set; }

Property Value

string

IsIdentity

Gets flag indicating that it is identity column.

public bool IsIdentity { get; set; }

Property Value

bool

IsNullable

Gets flag indicating that it is nullable column.

public bool IsNullable { get; set; }

Property Value

bool

IsPrimaryKey

Gets flag indicating that column is a part of primary key.

public bool IsPrimaryKey { get; set; }

Property Value

bool

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

string

MemberType

Gets .net column type as a string.

public string MemberType { get; set; }

Property Value

string

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

int

ProviderSpecificType

Gets provider-specific .net column type as a string.

public string? ProviderSpecificType { get; set; }

Property Value

string

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

bool

SkipOnUpdate

Gets flag indicating that update operations without explicit column setter should ignore this column.

public bool SkipOnUpdate { get; set; }

Property Value

bool

SystemType

Gets .net column type.

public Type? SystemType { get; set; }

Property Value

Type