QueryableExtensions - класс |
Пространство имён: Telerik.Web.Mvc.Extensions
public static class QueryableExtensions
Тип QueryableExtensions предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| Aggregate |
Calculates the results of given aggregates functions on a sequence of elements.
| |
| Count | Returns the number of elements in a sequence. | |
| ElementAt | Returns the element at a specified index in a sequence. | |
| GroupBy(IQueryable, IEnumerableGroupDescriptor) |
Groups the elements of a sequence according to a specified groupDescriptors.
| |
| GroupBy(IQueryable, LambdaExpression) |
Groups the elements of a sequence according to a specified key selector function.
| |
| GroupBy(IQueryable, IQueryable, IEnumerableGroupDescriptor) | ||
| OrderBy(IQueryable, LambdaExpression) |
Sorts the elements of a sequence in ascending order according to a key.
| |
| OrderBy(IQueryable, LambdaExpression, NullableListSortDirection) |
Calls OrderBy(IQueryable, LambdaExpression)
or OrderByDescending(IQueryable, LambdaExpression) depending on the sortDirection.
| |
| OrderByDescending |
Sorts the elements of a sequence in descending order according to a key.
| |
| Page |
Pages through the elements of a sequence until the specified
pageIndex using pageSize.
| |
| Select |
Projects each element of a sequence into a new form.
| |
| Skip |
Bypasses a specified number of elements in a sequence
and then returns the remaining elements.
| |
| Sort |
Sorts the elements of a sequence using the specified sort descriptors.
| |
| Take |
Returns a specified number of contiguous elements from the start of a sequence.
| |
| ToGridModel(IQueryable, GridState) | ||
| ToGridModel(IQueryable, Int32, Int32, IListSortDescriptor, IEnumerableIFilterDescriptor, IEnumerableGroupDescriptor) | ||
| ToGridModel(IQueryable, Int32, Int32, String, String, String) | ||
| ToIList |
Creates a IList from an IQueryable where T is ElementType.
| |
| Where(IQueryable, IEnumerableIFilterDescriptor) |
Filters a sequence of values based on a collection of IFilterDescriptor.
| |
| Where(IQueryable, Expression) |
Filters a sequence of values based on a predicate.
|