Class ListRequestExtensions
Extension methods for IListRequest<T>.
Inheritance
ListRequestExtensions
Namespace: BiExcellence.OpenBi.Api.Commands
Assembly: BiExcellence.OpenBi.Api.dll
Syntax
public static class ListRequestExtensions
Methods
AddField<T, TResult>(IListRequest<T>, Expression<Func<T, TResult>>)
Extension methods for IListRequest<T>.
Declaration
public static IListRequest<T> AddField<T, TResult>(this IListRequest<T> request, Expression<Func<T, TResult>> fieldExpression)
Parameters
Type | Name | Description |
---|---|---|
IListRequest<T> | request | |
Expression<Func<T, TResult>> | fieldExpression |
Returns
Type | Description |
---|---|
IListRequest<T> |
Type Parameters
Name | Description |
---|---|
T | |
TResult |
AddFilter<T, TResult>(IListRequest<T>, Expression<Func<T, TResult>>, IFilter)
Extension methods for IListRequest<T>.
Declaration
public static IListRequest<T> AddFilter<T, TResult>(this IListRequest<T> request, Expression<Func<T, TResult>> fieldExpression, IFilter filter)
Parameters
Type | Name | Description |
---|---|---|
IListRequest<T> | request | |
Expression<Func<T, TResult>> | fieldExpression | |
IFilter | filter |
Returns
Type | Description |
---|---|
IListRequest<T> |
Type Parameters
Name | Description |
---|---|
T | |
TResult |
SortAscending<T, TResult>(IListRequest<T>, Expression<Func<T, TResult>>)
Extension methods for IListRequest<T>.
Declaration
public static IListRequest<T> SortAscending<T, TResult>(this IListRequest<T> request, Expression<Func<T, TResult>> fieldExpression)
Parameters
Type | Name | Description |
---|---|---|
IListRequest<T> | request | |
Expression<Func<T, TResult>> | fieldExpression |
Returns
Type | Description |
---|---|
IListRequest<T> |
Type Parameters
Name | Description |
---|---|
T | |
TResult |
SortDescending<T, TResult>(IListRequest<T>, Expression<Func<T, TResult>>)
Extension methods for IListRequest<T>.
Declaration
public static IListRequest<T> SortDescending<T, TResult>(this IListRequest<T> request, Expression<Func<T, TResult>> fieldExpression)
Parameters
Type | Name | Description |
---|---|---|
IListRequest<T> | request | |
Expression<Func<T, TResult>> | fieldExpression |
Returns
Type | Description |
---|---|
IListRequest<T> |
Type Parameters
Name | Description |
---|---|
T | |
TResult |