Class SqlInsertOrUpdateStatement
public sealed class SqlInsertOrUpdateStatement : SqlStatementWithQueryBase, IQueryElement
- Inheritance
-
SqlInsertOrUpdateStatement
- Implements
- Inherited Members
- Extension Methods
Constructors
SqlInsertOrUpdateStatement(SelectQuery?)
public SqlInsertOrUpdateStatement(SelectQuery? selectQuery)
Parameters
selectQuerySelectQuery
Properties
ElementType
AST node type.
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
GetElementHashCode()
public override int GetElementHashCode()
Returns
GetTableSource(ISqlTableSource, out bool)
public override ISqlTableSource? GetTableSource(ISqlTableSource table, out bool noAlias)
Parameters
tableISqlTableSourcenoAliasbool
Returns
ToString(QueryElementTextWriter)
Generates debug text representation of AST node.
public override QueryElementTextWriter ToString(QueryElementTextWriter writer)
Parameters
writerQueryElementTextWriter