Class Query
Contains a LINQ query in a serializable format.
Inherited Members
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class Query
Constructors
Query()
Contains a LINQ query in a serializable format.
Declaration
public Query()
Properties
Expand
Gets or sets the expand.
Declaration
public string Expand { get; set; }
Property Value
Type | Description |
---|---|
string | The expand. |
Filter
Gets the filter expression as a string.
Declaration
public string Filter { get; set; }
Property Value
Type | Description |
---|---|
string | The filter. |
FilterParameters
Gets or sets the filter parameters.
Declaration
public object[] FilterParameters { get; set; }
Property Value
Type | Description |
---|---|
object[] | The filter parameters. |
Filters
Gets the filter expression as a collection of filter descriptors.
Declaration
public IEnumerable<FilterDescriptor> Filters { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<FilterDescriptor> | The filter parameters. |
OrderBy
Gets or sets the order by.
Declaration
public string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string | The order by. |
Select
Gets or sets the select.
Declaration
public string Select { get; set; }
Property Value
Type | Description |
---|---|
string | The select. |
Skip
Gets or sets the skip.
Declaration
public int? Skip { get; set; }
Property Value
Type | Description |
---|---|
int? | The skip. |
Sorts
Gets the sort expression as a collection of sort descriptors.
Declaration
public IEnumerable<SortDescriptor> Sorts { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<SortDescriptor> | The sorts. |
Top
Gets or sets the top.
Declaration
public int? Top { get; set; }
Property Value
Type | Description |
---|---|
int? | The top. |
Methods
ToUrl(string)
Converts the query to OData query format.
Declaration
public string ToUrl(string url)
Parameters
Type | Name | Description |
---|---|---|
string | url | The URL. |
Returns
Type | Description |
---|---|
string | System.String. |