Table of Contents

Class SqlDeleteStatement

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

Constructors

SqlDeleteStatement()

public SqlDeleteStatement()

SqlDeleteStatement(SelectQuery?)

public SqlDeleteStatement(SelectQuery? selectQuery)

Parameters

selectQuery SelectQuery

Properties

ElementType

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

IsParameterDependent

public override bool IsParameterDependent { get; set; }

Property Value

bool

Output

public SqlOutputClause? Output { get; set; }

Property Value

SqlOutputClause

QueryType

public override QueryType QueryType { get; }

Property Value

QueryType

Table

public SqlTable? Table { get; set; }

Property Value

SqlTable

Top

public ISqlExpression? Top { get; set; }

Property Value

ISqlExpression

Methods

ToString(StringBuilder, Dictionary<IQueryElement, IQueryElement>)

public override StringBuilder ToString(StringBuilder sb, Dictionary<IQueryElement, IQueryElement> dic)

Parameters

sb StringBuilder
dic Dictionary<IQueryElement, IQueryElement>

Returns

StringBuilder

WalkQueries<TContext>(TContext, Func<TContext, SelectQuery, SelectQuery>)

public override void WalkQueries<TContext>(TContext context, Func<TContext, SelectQuery, SelectQuery> func)

Parameters

context TContext
func 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 WalkOptions
context TContext
func Func<TContext, ISqlExpression, ISqlExpression>

Returns

ISqlExpression

Type Parameters

TContext