Class SqlMultiInsertStatement
public class SqlMultiInsertStatement : SqlStatement, IQueryElement, ISqlExpressionWalkable
- Inheritance
-
SqlMultiInsertStatement
- Implements
- Inherited Members
- Extension Methods
Constructors
SqlMultiInsertStatement(SqlTableLikeSource)
public SqlMultiInsertStatement(SqlTableLikeSource source)
Parameters
source
SqlTableLikeSource
Properties
ElementType
public override QueryElementType ElementType { get; }
Property Value
InsertType
public MultiInsertType InsertType { get; }
Property Value
Inserts
public List<SqlConditionalInsertClause> Inserts { get; }
Property Value
IsParameterDependent
public override bool IsParameterDependent { get; set; }
Property Value
QueryType
public override QueryType QueryType { get; }
Property Value
SelectQuery
public override SelectQuery? SelectQuery { get; set; }
Property Value
Source
public SqlTableLikeSource Source { get; }
Property Value
Methods
Add(SqlSearchCondition?, SqlInsertClause)
public void Add(SqlSearchCondition? when, SqlInsertClause insert)
Parameters
when
SqlSearchConditioninsert
SqlInsertClause
GetTableSource(ISqlTableSource)
public override ISqlTableSource? GetTableSource(ISqlTableSource table)
Parameters
table
ISqlTableSource
Returns
ToString(StringBuilder, Dictionary<IQueryElement, IQueryElement>)
public override StringBuilder ToString(StringBuilder sb, Dictionary<IQueryElement, IQueryElement> dic)
Parameters
Returns
WalkQueries<TContext>(TContext, Func<TContext, SelectQuery, SelectQuery>)
public override void WalkQueries<TContext>(TContext context, Func<TContext, SelectQuery, SelectQuery> func)
Parameters
context
TContextfunc
Func<TContext, SelectQuery, SelectQuery>
Type Parameters
TContext
Walk<TContext>(WalkOptions, TContext, Func<TContext, ISqlExpression, ISqlExpression>)
public override ISqlExpression? Walk<TContext>(WalkOptions options, TContext context, Func<TContext, ISqlExpression, ISqlExpression> func)
Parameters
options
WalkOptionscontext
TContextfunc
Func<TContext, ISqlExpression, ISqlExpression>
Returns
Type Parameters
TContext