OrderByQueryOption(String, ODataQueryContext, ODataQueryOptionParser) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initialize a new instance of OrderByQueryOption based on the raw $orderby value and an EdmModel from ODataQueryContext.
public OrderByQueryOption (string rawValue, Microsoft.AspNet.OData.ODataQueryContext context, Microsoft.OData.UriParser.ODataQueryOptionParser queryOptionParser);
new Microsoft.AspNet.OData.Query.OrderByQueryOption : string * Microsoft.AspNet.OData.ODataQueryContext * Microsoft.OData.UriParser.ODataQueryOptionParser -> Microsoft.AspNet.OData.Query.OrderByQueryOption
Public Sub New (rawValue As String, context As ODataQueryContext, queryOptionParser As ODataQueryOptionParser)
Parameters
- rawValue
- String
The raw value for $orderby query. It can be null or empty.
- context
- ODataQueryContext
The ODataQueryContext which contains the IEdmModel and some type information
- queryOptionParser
- ODataQueryOptionParser
The ODataQueryOptionParser which is used to parse the query option.