Dela via


ODataQuery<T> Class

Definition

Handles OData query generation.

public class ODataQuery<T>
type ODataQuery<'T> = class
Public Class ODataQuery(Of T)

Type Parameters

T
Inheritance
ODataQuery<T>

Constructors

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

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

SetFilter(Expression<Func<T,Boolean>>)

Sets Filter from an expression.

ToString()

Operators

Implicit(String to ODataQuery<T>)

Applies to