Table of Contents

Class SqlMultiInsertStatement

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

Constructors

SqlMultiInsertStatement(SqlTableLikeSource)

public SqlMultiInsertStatement(SqlTableLikeSource source)

Parameters

source SqlTableLikeSource

Properties

ElementType

AST node type.

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

InsertType

public MultiInsertType InsertType { get; }

Property Value

MultiInsertType

Inserts

public List<SqlConditionalInsertClause> Inserts { get; }

Property Value

List<SqlConditionalInsertClause>

IsParameterDependent

public override bool IsParameterDependent { get; set; }

Property Value

bool

QueryType

public override QueryType QueryType { get; }

Property Value

QueryType

SelectQuery

public override SelectQuery? SelectQuery { get; set; }

Property Value

SelectQuery

Source

public SqlTableLikeSource Source { get; }

Property Value

SqlTableLikeSource

Methods

Add(SqlSearchCondition?, SqlInsertClause)

public void Add(SqlSearchCondition? when, SqlInsertClause insert)

Parameters

when SqlSearchCondition
insert SqlInsertClause

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

Modify(SqlTableLikeSource)

public void Modify(SqlTableLikeSource source)

Parameters

source SqlTableLikeSource

ToString(QueryElementTextWriter)

Generates debug text representation of AST node.

public override QueryElementTextWriter ToString(QueryElementTextWriter writer)

Parameters

writer QueryElementTextWriter

Returns

QueryElementTextWriter