Table of Contents

Class QueryElement

Namespace
LinqToDB.Internal.SqlQuery
Assembly
linq2db.dll

Base class for SQL AST nodes. Use only if you need to add debug functionality to AST node.

public abstract class QueryElement : IQueryElement
Inheritance
object
QueryElement
Implements
Derived
Extension Methods

Fields

ReferenceComparer

By-reference node comparer instance.

public static readonly IEqualityComparer<IQueryElement> ReferenceComparer

Field Value

IEqualityComparer<IQueryElement>

Properties

ElementType

AST node type.

public abstract QueryElementType ElementType { get; }

Property Value

QueryElementType

Methods

GetElementHashCode()

public abstract int GetElementHashCode()

Returns

int

ToString(QueryElementTextWriter)

Generates debug text representation of AST node.

public abstract QueryElementTextWriter ToString(QueryElementTextWriter writer)

Parameters

writer QueryElementTextWriter

Returns

QueryElementTextWriter