TopQueryOption Class
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.
This defines a $top OData query option for querying.
public class TopQueryOption
type TopQueryOption = class
Public Class TopQueryOption
- Inheritance
-
TopQueryOption
Constructors
TopQueryOption(String, ODataQueryContext, ODataQueryOptionParser) |
Initialize a new instance of TopQueryOption based on the raw $top value and an EdmModel from ODataQueryContext. |
Properties
Context |
Gets the given ODataQueryContext. |
RawValue |
Gets the raw $top value. |
Validator |
Gets or sets the Top Query Validator. |
Value |
Gets the value of the $top as a parsed integer. |
Methods
ApplyTo(IQueryable, ODataQuerySettings) |
Apply the $top query to the given IQueryable. |
ApplyTo<T>(IQueryable<T>, ODataQuerySettings) |
Apply the $top query to the given IQueryable. |
Validate(ODataValidationSettings) |
Validate the top query based on the given |