Class Query
Contains a LINQ query in a serializable format.
Inheritance
System.Object
Query
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class Query : object
Properties
Expand
Gets or sets the expand.
Declaration
public string Expand { get; set; }
Property Value
Type | Description |
---|---|
System.String | The expand. |
Filter
Gets or sets the filter.
Declaration
public string Filter { get; set; }
Property Value
Type | Description |
---|---|
System.String | The filter. |
FilterParameters
Gets or sets the filter parameters.
Declaration
public object[] FilterParameters { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String | The order by. |
Select
Gets or sets the select.
Declaration
public string Select { get; set; }
Property Value
Type | Description |
---|---|
System.String | The select. |
Skip
Gets or sets the skip.
Declaration
public int? Skip { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | 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 |
---|---|
System.Nullable<System.Int32> | The top. |
Methods
ToUrl(String)
Converts the query to OData query format.
Declaration
public string ToUrl(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | The URL. |
Returns
Type | Description |
---|---|
System.String | System.String. |