Table of Contents

Class SqlExtensions

Namespace
LinqToDB.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

Methods

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

GetIdentityField(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 SqlField? GetIdentityField(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

SqlField

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

GetUpdateClause(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 SqlUpdateClause? GetUpdateClause(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

SqlUpdateClause

GetWithClause(SqlStatement)

public static SqlWithClause? GetWithClause(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

SqlWithClause

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

RequireInsertClause(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 RequireInsertClause(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

SqlInsertClause

RequireUpdateClause(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 SqlUpdateClause RequireUpdateClause(this SqlStatement statement)

Parameters

statement SqlStatement

Returns

SqlUpdateClause