SkipQueryOption Class

Definition

This defines a $skip OData query option for querying.

C#
public class SkipQueryOption
Inheritance
SkipQueryOption

Constructors

SkipQueryOption(String, ODataQueryContext, ODataQueryOptionParser)

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

Properties

Context

Gets the given ODataQueryContext.

RawValue

Gets the raw $skip value.

Validator

Gets or sets the Skip Query Validator.

Value

Gets the value of the $skip as a parsed integer.

Methods

ApplyTo(IQueryable, ODataQuerySettings)

Apply the $skip query to the given IQueryable.

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

Apply the $skip query to the given IQueryable.

Validate(ODataValidationSettings)

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

Applies to

Product Versions
OData Web API ASP .NET 7.0, Core 7.0