Table of Contents

Class SqlOrderByClause

Namespace
LinqToDB.SqlQuery
Assembly
linq2db.dll
public class SqlOrderByClause : ClauseBase, IQueryElement, ISqlExpressionWalkable
Inheritance
SqlOrderByClause
Implements
Inherited Members
Extension Methods

Properties

ElementType

public QueryElementType ElementType { get; }

Property Value

QueryElementType

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

Items

public List<SqlOrderByItem> Items { get; }

Property Value

List<SqlOrderByItem>

Methods

Expr(ISqlExpression)

public SqlOrderByClause Expr(ISqlExpression expr)

Parameters

expr ISqlExpression

Returns

SqlOrderByClause

Expr(ISqlExpression, bool)

public SqlOrderByClause Expr(ISqlExpression expr, bool isDescending)

Parameters

expr ISqlExpression
isDescending bool

Returns

SqlOrderByClause

ExprAsc(ISqlExpression)

public SqlOrderByClause ExprAsc(ISqlExpression expr)

Parameters

expr ISqlExpression

Returns

SqlOrderByClause

ExprDesc(ISqlExpression)

public SqlOrderByClause ExprDesc(ISqlExpression expr)

Parameters

expr ISqlExpression

Returns

SqlOrderByClause

Field(SqlField)

public SqlOrderByClause Field(SqlField field)

Parameters

field SqlField

Returns

SqlOrderByClause

Field(SqlField, bool)

public SqlOrderByClause Field(SqlField field, bool isDescending)

Parameters

field SqlField
isDescending bool

Returns

SqlOrderByClause

FieldAsc(SqlField)

public SqlOrderByClause FieldAsc(SqlField field)

Parameters

field SqlField

Returns

SqlOrderByClause

FieldDesc(SqlField)

public SqlOrderByClause FieldDesc(SqlField field)

Parameters

field SqlField

Returns

SqlOrderByClause