Table of Contents

Class SqlExtensions

Namespace
LinqToDB.Internal.SqlQuery
Assembly
linq2db.dll

This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.

public static class SqlExtensions
Inheritance
SqlExtensions
Inherited Members

Methods

CreateCount(ISqlTableSource, MappingSchema)

public static SqlExtendedFunction CreateCount(this ISqlTableSource table, MappingSchema mappingSchema)

Parameters

table ISqlTableSource
mappingSchema MappingSchema

Returns

SqlExtendedFunction

EnsureQuery(SqlStatement)

This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.

public static SelectQuery EnsureQuery(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

SelectQuery

GetInsertClause(SqlStatement)

This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.

public static SqlInsertClause? GetInsertClause(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

SqlInsertClause

GetOutputClause(SqlStatement)

This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.

public static SqlOutputClause? GetOutputClause(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

SqlOutputClause

GetWithClause(SqlStatement)

public static SqlWithClause? GetWithClause(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

SqlWithClause

HasSomeModifiers(SqlSelectClause, bool, bool)

This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.

public static bool HasSomeModifiers(this SqlSelectClause select, bool ignoreSkip, bool ignoreTake)

Parameters

select SqlSelectClause
ignoreSkip bool
ignoreTake bool

Returns

bool

IsDelete(SqlStatement)

This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.

public static bool IsDelete(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

bool

IsInsert(SqlStatement)

This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.

public static bool IsInsert(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

bool

IsUpdate(SqlStatement)

This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.

public static bool IsUpdate(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

bool

NeedsIdentity(SqlStatement)

This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.

public static bool NeedsIdentity(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

bool

WithName(SqlFunction, string)

public static SqlFunction WithName(this SqlFunction func, string name)

Parameters

func SqlFunction
name string

Returns

SqlFunction