Class SqlInsertOrUpdateStatement
public class SqlInsertOrUpdateStatement : SqlStatementWithQueryBase, IQueryElement, ISqlExpressionWalkable
- Inheritance
-
SqlInsertOrUpdateStatement
- Implements
- Inherited Members
- Extension Methods
Constructors
SqlInsertOrUpdateStatement(SelectQuery?)
public SqlInsertOrUpdateStatement(SelectQuery? selectQuery)
Parameters
selectQuery
SelectQuery
Properties
ElementType
public override QueryElementType ElementType { get; }
Property Value
Insert
public SqlInsertClause Insert { get; set; }
Property Value
QueryType
public override QueryType QueryType { get; }
Property Value
Update
public SqlUpdateClause Update { get; set; }
Property Value
Methods
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
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