Table of Contents

Class OrderBy

Namespace
TimeCockpit.Data.QueryLanguage.Syntax
Assembly
TimeCockpit.Data.dll

AST Node representing an oder by. e.g. in From X In Timesheet OrderBy X.BeginTime ASC, X.Description DESC Select X, the node represents to the "OrderBy X.BeginTime ASC, X.Description DESC" part.

public class OrderBy : Node
Inheritance
Object
OrderBy
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

OrderBy(IEnumerable<OrderByExpression>)

Initializes a new instance of the OrderBy class.

public OrderBy(IEnumerable<OrderByExpression> expressions)

Parameters

expressions IEnumerable<OrderByExpression>

the expressions by which to order.

Properties

Expressions

Gets the expressions by which the OrderBy is ordered.

public ReadOnlyCollection<OrderByExpression> Expressions { get; }

Property Value

ReadOnlyCollection<OrderByExpression>

Methods

Accept(Visitor)

Dispatches to the correct VisitOrderBy(OrderBy) function.

public override Node Accept(Visitor visitor)

Parameters

visitor Visitor

the visitor to accept.

Returns

Node

Returns the value returned by VisitQuery(Query)