FilterQueryOption(String, ODataQueryContext, ODataQueryOptionParser) Constructor

Definition

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

public FilterQueryOption (string rawValue, Microsoft.AspNet.OData.ODataQueryContext context, Microsoft.OData.UriParser.ODataQueryOptionParser queryOptionParser);
new Microsoft.AspNet.OData.Query.FilterQueryOption : string * Microsoft.AspNet.OData.ODataQueryContext * Microsoft.OData.UriParser.ODataQueryOptionParser -> Microsoft.AspNet.OData.Query.FilterQueryOption
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