Table of Contents

Class SqlInsertStatement

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

Constructors

SqlInsertStatement()

public SqlInsertStatement()

SqlInsertStatement(SelectQuery)

public SqlInsertStatement(SelectQuery selectQuery)

Parameters

selectQuery SelectQuery

Properties

ElementType

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Insert

public SqlInsertClause Insert { get; set; }

Property Value

SqlInsertClause

Output

public SqlOutputClause? Output { get; set; }

Property Value

SqlOutputClause

QueryType

public override QueryType QueryType { get; }

Property Value

QueryType

Methods

GetTableSource(ISqlTableSource)

public override ISqlTableSource? GetTableSource(ISqlTableSource table)

Parameters

table ISqlTableSource

Returns

ISqlTableSource

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