Share via


FilterSegment(SingleValueNode, RangeVariable, IEdmNavigationSource) Constructor

Definition

Build a segment representing $filter.

public FilterSegment (Microsoft.OData.UriParser.SingleValueNode expression, Microsoft.OData.UriParser.RangeVariable rangeVariable, Microsoft.OData.Edm.IEdmNavigationSource navigationSource);
new Microsoft.OData.UriParser.FilterSegment : Microsoft.OData.UriParser.SingleValueNode * Microsoft.OData.UriParser.RangeVariable * Microsoft.OData.Edm.IEdmNavigationSource -> Microsoft.OData.UriParser.FilterSegment
Public Sub New (expression As SingleValueNode, rangeVariable As RangeVariable, navigationSource As IEdmNavigationSource)

Parameters

expression
SingleValueNode

The filter expression - this should evaluate to a single boolean value.

rangeVariable
RangeVariable

An expression that represents a single value from the collection.

navigationSource
IEdmNavigationSource

The navigation source that this filter applies to.

Exceptions

Throws if any input parameter is null.

Remarks

$filter should not be applied on singletons or single entities.

Applies to