Query Class

Contains a LINQ query in a serializable format.

Inheritance

Object

Query

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class Query

Constructors

QueryLink to this section

Contains a LINQ query in a serializable format.

Declaration
public Query()

Properties

ExpandLink to this section

Gets or sets the expand.

Declaration
public string Expand { get; set; }
Property Value
Type Description
stringGets or sets the expand.

FilterLink to this section

Gets the filter expression as a string.

Declaration
public string Filter { get; set; }
Property Value
Type Description
stringGets the filter expression as a string.

FilterParametersLink to this section

Gets or sets the filter parameters.

Declaration
public Object[] FilterParameters { get; set; }
Property Value
Type Description
Object[]Gets or sets the filter parameters.

FiltersLink to this section

Gets the filter expression as a collection of filter descriptors.

Declaration
public IEnumerable<FilterDescriptor> Filters { get; set; }
Property Value
Type Description
IEnumerable<FilterDescriptor>Gets the filter expression as a collection of filter descriptors.

OrderByLink to this section

Gets or sets the order by.

Declaration
public string OrderBy { get; set; }
Property Value
Type Description
stringGets or sets the order by.

SelectLink to this section

Gets or sets the select.

Declaration
public string Select { get; set; }
Property Value
Type Description
stringGets or sets the select.

SkipLink to this section

Gets or sets the skip.

Declaration
public int? Skip { get; set; }
Property Value
Type Description
int?Gets or sets the skip.

SortsLink to this section

Gets the sort expression as a collection of sort descriptors.

Declaration
public IEnumerable<SortDescriptor> Sorts { get; set; }
Property Value
Type Description
IEnumerable<SortDescriptor>Gets the sort expression as a collection of sort descriptors.

TopLink to this section

Gets or sets the top.

Declaration
public int? Top { get; set; }
Property Value
Type Description
int?Gets or sets the top.

Methods

ToUrlLink to this section

Converts the query to OData query format.

Declaration
public string ToUrl(string url)
Parameters
Type Name Description
string url The URL.
Returns
Type Description
stringSystem.String.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙