Table of Contents

Class SqlWithClause

Namespace
LinqToDB.SqlQuery
Assembly
linq2db.dll
public class SqlWithClause : IQueryElement, ISqlExpressionWalkable
Inheritance
SqlWithClause
Implements
Extension Methods

Properties

Clauses

public List<CteClause> Clauses { get; set; }

Property Value

List<CteClause>

ElementType

public QueryElementType ElementType { get; }

Property Value

QueryElementType

Methods

GetTableSource(ISqlTableSource)

public ISqlTableSource? GetTableSource(ISqlTableSource table)

Parameters

table ISqlTableSource

Returns

ISqlTableSource

ToString(StringBuilder, Dictionary<IQueryElement, IQueryElement>)

public 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 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 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