Class OrderByNode
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
OrderByDirectionThe 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
OrderByClauseThe head of the Microsoft.Data.OData.Query.SemanticAst.OrderByClause linked list.
Returns
- IList<OrderByNode>
The list of new OrderByPropertyNode instances.