Class DynamicExtensions
Class DynamicExtensions used to replace System.Linq.Dynamic.Core library.
Inheritance
System.Object
DynamicExtensions
Assembly: Radzen.Blazor.dll
Syntax
public static class DynamicExtensions : object
Methods
OrderBy<T>(IQueryable<T>, String, Object[])
Sorts the elements of a sequence in ascending or descending order according to a key.
Declaration
public static IOrderedQueryable<T> OrderBy<T>(this IQueryable<T> source, string selector, object[] parameters = null)
Parameters
Type |
Name |
Description |
IQueryable<T> |
source |
|
System.String |
selector |
|
System.Object[] |
parameters |
|
Returns
Type |
Description |
IOrderedQueryable<T> |
|
Type Parameters
Select(IQueryable, String, Object[])
Projects each element of a sequence into a collection of property values.
Declaration
public static IQueryable Select(this IQueryable source, string selector, object[] parameters = null)
Parameters
Type |
Name |
Description |
IQueryable |
source |
|
System.String |
selector |
|
System.Object[] |
parameters |
|
Returns
Type |
Description |
IQueryable |
|
Select<T>(IQueryable<T>, String, Object[])
Projects each element of a sequence into a collection of property values.
Declaration
public static IQueryable Select<T>(this IQueryable<T> source, string selector, object[] parameters = null)
Parameters
Type |
Name |
Description |
IQueryable<T> |
source |
|
System.String |
selector |
|
System.Object[] |
parameters |
|
Returns
Type |
Description |
IQueryable |
|
Type Parameters
Where<T>(IQueryable<T>, String, Object[], Object[])
Filters using the specified filter descriptors.
Declaration
public static IQueryable<T> Where<T>(this IQueryable<T> source, string predicate, object[] parameters = null, object[] otherParameters = null)
Parameters
Type |
Name |
Description |
IQueryable<T> |
source |
|
System.String |
predicate |
|
System.Object[] |
parameters |
|
System.Object[] |
otherParameters |
|
Returns
Type |
Description |
IQueryable<T> |
|
Type Parameters