Table of Contents

Class SqlInsertOrUpdateStatement

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

Constructors

SqlInsertOrUpdateStatement(SelectQuery?)

public SqlInsertOrUpdateStatement(SelectQuery? selectQuery)

Parameters

selectQuery SelectQuery

Properties

ElementType

AST node type.

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Insert

public SqlInsertClause Insert { get; set; }

Property Value

SqlInsertClause

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

ToString(QueryElementTextWriter)

Generates debug text representation of AST node.

public override QueryElementTextWriter ToString(QueryElementTextWriter writer)

Parameters

writer QueryElementTextWriter

Returns

QueryElementTextWriter