Share via


ApplyQueryOption(String, ODataQueryContext, ODataQueryOptionParser) Constructor

Definition

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

public ApplyQueryOption (string rawValue, Microsoft.AspNet.OData.ODataQueryContext context, Microsoft.OData.UriParser.ODataQueryOptionParser queryOptionParser);
new Microsoft.AspNet.OData.Query.ApplyQueryOption : string * Microsoft.AspNet.OData.ODataQueryContext * Microsoft.OData.UriParser.ODataQueryOptionParser -> Microsoft.AspNet.OData.Query.ApplyQueryOption
Public Sub New (rawValue As String, context As ODataQueryContext, queryOptionParser As ODataQueryOptionParser)

Parameters

rawValue
String

The raw value for $filter 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.

Applies to