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

Contains a LINQ query in a serializable format.

Declaration
public Query()

Properties

Expandlink

Gets or sets the expand.

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

Filterlink

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

Gets or sets the filter parameters.

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

Filterslink

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

Gets or sets the order by.

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

Selectlink

Gets or sets the select.

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

Skiplink

Gets or sets the skip.

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

Sortslink

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

Gets or sets the top.

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

Methods

ToUrllink

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 🗙