Table of Contents

Class SqlUpdateStatement

Namespace
LinqToDB.Internal.SqlQuery
Assembly
linq2db.dll
public sealed class SqlUpdateStatement : SqlStatementWithQueryBase, IQueryElement
Inheritance
SqlUpdateStatement
Implements
Inherited Members
Extension Methods

Constructors

SqlUpdateStatement(SelectQuery?)

public SqlUpdateStatement(SelectQuery? selectQuery)

Parameters

selectQuery SelectQuery

Properties

ElementType

AST node type.

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Output

public SqlOutputClause? Output { get; set; }

Property Value

SqlOutputClause

QueryType

public override QueryType QueryType { get; }

Property Value

QueryType

Update

public SqlUpdateClause Update { get; set; }

Property Value

SqlUpdateClause

Methods

GetElementHashCode()

public override int GetElementHashCode()

Returns

int

GetTableSource(ISqlTableSource, out bool)

public override ISqlTableSource? GetTableSource(ISqlTableSource table, out bool noAlias)

Parameters

table ISqlTableSource
noAlias bool

Returns

ISqlTableSource

IsDependedOn(SqlTable)

Indicates when optimizer can not remove reference for particular table

public override bool IsDependedOn(SqlTable table)

Parameters

table SqlTable

Returns

bool

ToString(QueryElementTextWriter)

Generates debug text representation of AST node.

public override QueryElementTextWriter ToString(QueryElementTextWriter writer)

Parameters

writer QueryElementTextWriter

Returns

QueryElementTextWriter