Table of Contents

Class SqlInfo

Namespace
LinqToDB.Linq.Builder
Assembly
linq2db.dll
public class SqlInfo
Inheritance
SqlInfo
Extension Methods

Constructors

SqlInfo(ISqlExpression, SelectQuery?, int)

public SqlInfo(ISqlExpression sql, SelectQuery? query = null, int index = -1)

Parameters

sql ISqlExpression
query SelectQuery
index int

SqlInfo(IEnumerable<MemberInfo>, ISqlExpression, SelectQuery?, int)

public SqlInfo(IEnumerable<MemberInfo> mi, ISqlExpression sql, SelectQuery? query = null, int index = -1)

Parameters

mi IEnumerable<MemberInfo>
sql ISqlExpression
query SelectQuery
index int

SqlInfo(IEnumerable<MemberInfo>, ISqlExpression, int)

public SqlInfo(IEnumerable<MemberInfo> mi, ISqlExpression sql, int index)

Parameters

mi IEnumerable<MemberInfo>
sql ISqlExpression
index int

SqlInfo(MemberInfo, ISqlExpression, SelectQuery?, int)

public SqlInfo(MemberInfo mi, ISqlExpression sql, SelectQuery? query = null, int index = -1)

Parameters

mi MemberInfo
sql ISqlExpression
query SelectQuery
index int

SqlInfo(MemberInfo[], ISqlExpression, SelectQuery?, int)

public SqlInfo(MemberInfo[] mi, ISqlExpression sql, SelectQuery? query = null, int index = -1)

Parameters

mi MemberInfo[]
sql ISqlExpression
query SelectQuery
index int

Fields

Index

public readonly int Index

Field Value

int

MemberChain

public readonly MemberInfo[] MemberChain

Field Value

MemberInfo[]

Query

public readonly SelectQuery? Query

Field Value

SelectQuery

Sql

public readonly ISqlExpression Sql

Field Value

ISqlExpression

Methods

AppendMember(MemberInfo)

public SqlInfo AppendMember(MemberInfo mi)

Parameters

mi MemberInfo

Returns

SqlInfo

Clone(MemberInfo)

public SqlInfo Clone(MemberInfo mi)

Parameters

mi MemberInfo

Returns

SqlInfo

CompareLastMember(SqlInfo)

public bool CompareLastMember(SqlInfo info)

Parameters

info SqlInfo

Returns

bool

CompareMembers(SqlInfo)

public bool CompareMembers(SqlInfo info)

Parameters

info SqlInfo

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WithIndex(int)

public SqlInfo WithIndex(int index)

Parameters

index int

Returns

SqlInfo

WithMember(MemberInfo)

public SqlInfo WithMember(MemberInfo mi)

Parameters

mi MemberInfo

Returns

SqlInfo

WithMembers(IEnumerable<MemberInfo>)

public SqlInfo WithMembers(IEnumerable<MemberInfo> mi)

Parameters

mi IEnumerable<MemberInfo>

Returns

SqlInfo

WithQuery(SelectQuery?)

public SqlInfo WithQuery(SelectQuery? query)

Parameters

query SelectQuery

Returns

SqlInfo

WithSql(ISqlExpression)

public SqlInfo WithSql(ISqlExpression sql)

Parameters

sql ISqlExpression

Returns

SqlInfo