Search Results for

    Show / Hide Table of Contents

    Class OrderBy

    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.

    Inheritance
    System.Object
    Node
    OrderBy
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: TimeCockpit.Data.QueryLanguage.Syntax
    Assembly: TimeCockpit.Data.dll
    Syntax
    public class OrderBy : Node

    Constructors

    OrderBy(IEnumerable<OrderByExpression>)

    Initializes a new instance of the OrderBy class.

    Declaration
    public OrderBy(IEnumerable<OrderByExpression> expressions)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<OrderByExpression> expressions

    the expressions by which to order.

    Properties

    Expressions

    Gets the expressions by which the OrderBy is ordered.

    Declaration
    public ReadOnlyCollection<OrderByExpression> Expressions { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<OrderByExpression>

    Methods

    Accept(Visitor)

    Dispatches to the correct VisitOrderBy(OrderBy) function.

    Declaration
    public override Node Accept(Visitor visitor)
    Parameters
    Type Name Description
    Visitor visitor

    the visitor to accept.

    Returns
    Type Description
    Node

    Returns the value returned by VisitQuery(Query)

    Overrides
    Node.Accept(Visitor)
    In This Article
    Back to top Copyright © 2020 software architects gmbh