Table of Contents

Class SqlUpdateStatement

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

Constructors

SqlUpdateStatement(SelectQuery)

public SqlUpdateStatement(SelectQuery selectQuery)

Parameters

selectQuery SelectQuery

Properties

ElementType

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

AfterSetAliases()

public void AfterSetAliases()

GetTableSource(ISqlTableSource)

public override ISqlTableSource? GetTableSource(ISqlTableSource table)

Parameters

table ISqlTableSource

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(StringBuilder, Dictionary<IQueryElement, IQueryElement>)

public override StringBuilder ToString(StringBuilder sb, Dictionary<IQueryElement, IQueryElement> dic)

Parameters

sb StringBuilder
dic Dictionary<IQueryElement, IQueryElement>

Returns

StringBuilder

Walk<TContext>(WalkOptions, TContext, Func<TContext, ISqlExpression, ISqlExpression>)

public override ISqlExpression? Walk<TContext>(WalkOptions options, TContext context, Func<TContext, ISqlExpression, ISqlExpression> func)

Parameters

options WalkOptions
context TContext
func Func<TContext, ISqlExpression, ISqlExpression>

Returns

ISqlExpression

Type Parameters

TContext