Table of Contents

Class SqlField

Namespace
LinqToDB.SqlQuery
Assembly
linq2db.dll
public class SqlField : ISqlExpression, IQueryElement, IEquatable<ISqlExpression>, ISqlExpressionWalkable
Inheritance
SqlField
Implements
Extension Methods

Constructors

SqlField(ColumnDescriptor)

public SqlField(ColumnDescriptor column)

Parameters

column ColumnDescriptor

SqlField(ISqlTableSource, string)

public SqlField(ISqlTableSource table, string name)

Parameters

table ISqlTableSource
name string

SqlField(SqlField)

public SqlField(SqlField field)

Parameters

field SqlField

SqlField(string, string)

public SqlField(string name, string physicalName)

Parameters

name string
physicalName string

SqlField(Type, string?, bool)

public SqlField(Type systemType, string? name, bool canBeNull)

Parameters

systemType Type
name string
canBeNull bool

Properties

Alias

public string? Alias { get; set; }

Property Value

string

CanBeNull

public bool CanBeNull { get; set; }

Property Value

bool

ColumnDescriptor

public ColumnDescriptor ColumnDescriptor { get; set; }

Property Value

ColumnDescriptor

CreateFormat

public string? CreateFormat { get; set; }

Property Value

string

CreateOrder

public int? CreateOrder { get; set; }

Property Value

int?

ElementType

public QueryElementType ElementType { get; }

Property Value

QueryElementType

IsDynamic

public bool IsDynamic { get; set; }

Property Value

bool

IsIdentity

public bool IsIdentity { get; set; }

Property Value

bool

IsInsertable

public bool IsInsertable { get; set; }

Property Value

bool

IsPrimaryKey

public bool IsPrimaryKey { get; set; }

Property Value

bool

IsUpdatable

public bool IsUpdatable { get; set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

PhysicalName

public string PhysicalName { get; set; }

Property Value

string

Precedence

public int Precedence { get; }

Property Value

int

PrimaryKeyOrder

public int PrimaryKeyOrder { get; set; }

Property Value

int

SkipOnEntityFetch

public bool SkipOnEntityFetch { get; set; }

Property Value

bool

Table

public ISqlTableSource? Table { get; set; }

Property Value

ISqlTableSource

Type

public DbDataType Type { get; set; }

Property Value

DbDataType

Methods

Equals(ISqlExpression, Func<ISqlExpression, ISqlExpression, bool>)

public bool Equals(ISqlExpression other, Func<ISqlExpression, ISqlExpression, bool> comparer)

Parameters

other ISqlExpression
comparer Func<ISqlExpression, ISqlExpression, bool>

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.