ODataQueryOptions Class
This defines a composite OData query options that can be used to perform query composition. Currently this only supports $filter, $orderby, $top, $skip, and $count.
Assembly: System.Web.OData (in System.Web.OData.dll)
System.Web.OData.Query::ODataQueryOptions
System.Web.OData.Query::ODataQueryOptions<TEntity>
| Name | Description | |
|---|---|---|
![]() | ODataQueryOptions(ODataQueryContext^, HttpRequestMessage^) | Initializes a new instance of the ODataQueryOptions class based on the incoming request and some metadata information from the ODataQueryContext. |
| Name | Description | |
|---|---|---|
![]() | Context | Gets the given ODataQueryContext |
![]() | Count | Gets the CountQueryOption. |
![]() | Filter | Gets the FilterQueryOption. |
![]() | IfMatch | Gets the ETag from IfMatch header. |
![]() | IfNoneMatch | Gets the ETag from IfNoneMatch header. |
![]() | OrderBy | Gets the OrderByQueryOption. |
![]() | RawValues | Gets the raw string of all the OData query options |
![]() | Request | Gets the request message associated with this instance. |
![]() | SelectExpand | Gets the SelectExpandQueryOption. |
![]() | Skip | Gets the SkipQueryOption. |
![]() | Top | Gets the TopQueryOption. |
![]() | Validator | Gets or sets the query validator. |
| Name | Description | |
|---|---|---|
![]() | ApplyTo(IQueryable^) | Apply the individual query to the given IQueryable in the right order. |
![]() | ApplyTo(IQueryable^, AllowedQueryOptions) | Apply the individual query to the given IQueryable in the right order. |
![]() | ApplyTo(IQueryable^, ODataQuerySettings^) | Apply the individual query to the given IQueryable in the right order. |
![]() | ApplyTo(IQueryable^, ODataQuerySettings^, AllowedQueryOptions) | Apply the individual query to the given IQueryable in the right order. |
![]() | ApplyTo(Object^, ODataQuerySettings^) | Applies the query to the given entity using the given ODataQuerySettings. |
![]() | ApplyTo(Object^, ODataQuerySettings^, AllowedQueryOptions) | Apply the individual query to the given IQueryable in the right order. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsSupportedQueryOption(String^) | Check if the given query option is the supported query option. |
![]() ![]() | IsSystemQueryOption(String^) | Check if the given query option is an OData system query option. |
![]() ![]() | LimitResults<T>(IQueryable<T>^, Int32, Boolean) | Limits the query results to a maximum number of results. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | Validate(ODataValidationSettings^) | Validate all OData queries, including $skip, $top, $orderby and $filter, based on the given validationSettings. It throws an ODataException if validation failed. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



