Table of Contents

Class SqlQueryExtension

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

Constructors

SqlQueryExtension()

public SqlQueryExtension()

Properties

Arguments

Gets extension arguments.

public required Dictionary<string, ISqlExpression> Arguments { get; init; }

Property Value

Dictionary<string, ISqlExpression>

BuilderType

Gets optional extension builder type. Must implement ISqlQueryExtensionBuilder or ISqlTableExtensionBuilder interface.

public Type? BuilderType { get; init; }

Property Value

Type

Configuration

Gets optional configuration, to which extension should be applied.

public string? Configuration { get; init; }

Property Value

string

ElementType

AST node type.

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Scope

Gets extension apply scope/location.

public Sql.QueryExtensionScope Scope { get; init; }

Property Value

Sql.QueryExtensionScope

Methods

Accept(QueryElementVisitor)

Visitor support.

public override IQueryElement Accept(QueryElementVisitor visitor)

Parameters

visitor QueryElementVisitor

Returns

IQueryElement

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