Class SqlOrderByClause
public class SqlOrderByClause : ClauseBase, IQueryElement, ISqlExpressionWalkable
- Inheritance
-
SqlOrderByClause
- Implements
- Inherited Members
- Extension Methods
Properties
ElementType
public QueryElementType ElementType { get; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
Items
public List<SqlOrderByItem> Items { get; }
Property Value
Methods
Expr(ISqlExpression)
public SqlOrderByClause Expr(ISqlExpression expr)
Parameters
expr
ISqlExpression
Returns
Expr(ISqlExpression, bool)
public SqlOrderByClause Expr(ISqlExpression expr, bool isDescending)
Parameters
expr
ISqlExpressionisDescending
bool
Returns
ExprAsc(ISqlExpression)
public SqlOrderByClause ExprAsc(ISqlExpression expr)
Parameters
expr
ISqlExpression
Returns
ExprDesc(ISqlExpression)
public SqlOrderByClause ExprDesc(ISqlExpression expr)
Parameters
expr
ISqlExpression
Returns
Field(SqlField)
public SqlOrderByClause Field(SqlField field)
Parameters
field
SqlField
Returns
Field(SqlField, bool)
public SqlOrderByClause Field(SqlField field, bool isDescending)
Parameters
Returns
FieldAsc(SqlField)
public SqlOrderByClause FieldAsc(SqlField field)
Parameters
field
SqlField
Returns
FieldDesc(SqlField)
public SqlOrderByClause FieldDesc(SqlField field)
Parameters
field
SqlField