Table of Contents

Class OrderByNode

Namespace
System.Web.Http.OData.Query
Assembly
System.Web.Http.OData.dll

Represents a single order by expression in the $orderby clause.

public abstract class OrderByNode
Inheritance
OrderByNode
Derived
Inherited Members

Constructors

OrderByNode(OrderByDirection)

Initializes a new instance of the OrderByNode class.

protected OrderByNode(OrderByDirection direction)

Parameters

direction OrderByDirection

The direction of the sort order.

Properties

Direction

Gets the Microsoft.Data.OData.Query.OrderByDirection for the current node.

public OrderByDirection Direction { get; }

Property Value

OrderByDirection

Methods

CreateCollection(OrderByClause)

Creates a list of OrderByNode instances from a linked list of Microsoft.Data.OData.Query.SemanticAst.OrderByClause instances.

public static IList<OrderByNode> CreateCollection(OrderByClause orderByClause)

Parameters

orderByClause OrderByClause

The head of the Microsoft.Data.OData.Query.SemanticAst.OrderByClause linked list.

Returns

IList<OrderByNode>

The list of new OrderByPropertyNode instances.