Jaa


OrderByQueryOption Class

Definition

This defines a $orderby OData query option for querying.

public class OrderByQueryOption
type OrderByQueryOption = class
Public Class OrderByQueryOption
Inheritance
OrderByQueryOption

Constructors

OrderByQueryOption(String, ODataQueryContext, ODataQueryOptionParser)

Initialize a new instance of OrderByQueryOption based on the raw $orderby value and an EdmModel from ODataQueryContext.

Properties

Context

Gets the given ODataQueryContext.

OrderByClause

Gets the parsed OrderByClause for this query option.

OrderByNodes

Gets the mutable list of OrderByPropertyNode instances for this query option.

RawValue

Gets the raw $orderby value.

Validator

Gets or sets the OrderBy Query Validator.

Methods

ApplyTo(IQueryable, ODataQuerySettings)

Apply the $orderby query to the given IQueryable.

ApplyTo(IQueryable)

Apply the $orderby query to the given IQueryable.

ApplyTo<T>(IQueryable<T>, ODataQuerySettings)

Apply the $orderby query to the given IQueryable.

ApplyTo<T>(IQueryable<T>)

Apply the $orderby query to the given IQueryable.

Validate(ODataValidationSettings)

Validate the orderby query based on the given validationSettings. It throws an ODataException if validation failed.

Applies to