Table of Contents

Class CteClause

Namespace
LinqToDB.Internal.SqlQuery
Assembly
linq2db.dll
public sealed class CteClause : QueryElement, IQueryElement
Inheritance
CteClause
Implements
Inherited Members
Extension Methods

Constructors

CteClause(SelectQuery?, Type, bool, string?)

public CteClause(SelectQuery? body, Type objectType, bool isRecursive, string? name)

Parameters

body SelectQuery
objectType Type
isRecursive bool
name string

Fields

CteIDCounter

public static int CteIDCounter

Field Value

int

Properties

Body

public SelectQuery? Body { get; set; }

Property Value

SelectQuery

CteID

public int CteID { get; }

Property Value

int

ElementType

AST node type.

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Fields

public List<SqlField> Fields { get; }

Property Value

List<SqlField>

IsRecursive

public bool IsRecursive { get; set; }

Property Value

bool

Name

public string? Name { get; set; }

Property Value

string

ObjectType

public Type ObjectType { get; set; }

Property Value

Type

Methods

GetElementHashCode()

public override int GetElementHashCode()

Returns

int

ToString(QueryElementTextWriter)

Generates debug text representation of AST node.

public override QueryElementTextWriter ToString(QueryElementTextWriter writer)

Parameters

writer QueryElementTextWriter

Returns

QueryElementTextWriter