<PackageReference Include="Microsoft.Rest.ClientRuntime.Azure" Version="3.3.15" />

Microsoft.Rest.Azure.OData.ODataQuery<T>

public class ODataQuery<T>
Handles OData query generation.
public string Expand { get; set; }

Gets or sets query $expand expression.

public string Filter { get; set; }

Gets or sets query $filter expression.

public string OrderBy { get; set; }

Gets or sets query $orderby expression.

public int? Skip { get; set; }

Gets or sets query $skip value.

public bool SkipNullFilterParameters { get; set; }

Indicates whether null values in the Filter should be skipped. Default value is True.

public int? Top { get; set; }

Gets or sets query $top value.

public ODataQuery()

Initializes a new instance of empty ODataQuery.

public ODataQuery(string odataExpression)

Initializes a new instance of ODataQuery with filter.

public ODataQuery(Expression<Func<T, bool>> filter)

Initializes a new instance of ODataQuery with filter.

public static ODataQuery<T> op_Implicit(string filter)

Implicit operator that creates an ODataQuery from a string filter.

public void SetFilter(Expression<Func<T, bool>> filter)

Sets Filter from an expression.