ODataQuery<T> 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.
Handles OData query generation.
public class ODataQuery<T>
type ODataQuery<'T> = class
Public Class ODataQuery(Of T)
Type Parameters
- T
- Inheritance
-
ODataQuery<T>
Constructors
| Name | Description |
|---|---|
| ODataQuery<T>() |
Initializes a new instance of empty ODataQuery. |
| ODataQuery<T>(Expression<Func<T,Boolean>>) |
Initializes a new instance of ODataQuery with filter. |
| ODataQuery<T>(String) |
Initializes a new instance of ODataQuery with filter. |
Properties
| Name | Description |
|---|---|
| Expand |
Gets or sets query $expand expression. |
| Filter |
Gets or sets query $filter expression. |
| OrderBy |
Gets or sets query $orderby expression. |
| Skip |
Gets or sets query $skip value. |
| SkipNullFilterParameters |
Indicates whether null values in the Filter should be skipped. Default value is True. |
| Top |
Gets or sets query $top value. |
Methods
| Name | Description |
|---|---|
| SetFilter(Expression<Func<T,Boolean>>) |
Sets Filter from an expression. |
| ToString() | |
Operators
| Name | Description |
|---|---|
| Implicit(String to ODataQuery<T>) | |