Table of Contents

Class SqlOrderByItem

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

Constructors

SqlOrderByItem(ISqlExpression, bool, bool)

public SqlOrderByItem(ISqlExpression expression, bool isDescending, bool isPositioned)

Parameters

expression ISqlExpression
isDescending bool
isPositioned bool

SqlOrderByItem(ISqlExpression, bool, bool, NullsPosition)

public SqlOrderByItem(ISqlExpression expression, bool isDescending, bool isPositioned, Sql.NullsPosition nullsPosition)

Parameters

expression ISqlExpression
isDescending bool
isPositioned bool
nullsPosition Sql.NullsPosition

Properties

ElementType

AST node type.

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

Expression

public ISqlExpression Expression { get; }

Property Value

ISqlExpression

IsDescending

public bool IsDescending { get; }

Property Value

bool

IsPositioned

public bool IsPositioned { get; }

Property Value

bool

NullsPosition

public Sql.NullsPosition NullsPosition { get; }

Property Value

Sql.NullsPosition

Methods

Accept(QueryElementVisitor)

Visitor support.

public override IQueryElement Accept(QueryElementVisitor visitor)

Parameters

visitor QueryElementVisitor

Returns

IQueryElement

GetElementHashCode()

public override int GetElementHashCode()

Returns

int

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

ToString(QueryElementTextWriter)

Generates debug text representation of AST node.

public override QueryElementTextWriter ToString(QueryElementTextWriter writer)

Parameters

writer QueryElementTextWriter

Returns

QueryElementTextWriter