QueryableExtensions Methods |
The QueryableExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
Aggregate(IQueryable, AggregateFunction) |
Calculates the results of a given aggregate function on a sequence of elements.
|
![]() ![]() |
Aggregate(IQueryable, IEnumerableAggregateFunction) |
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.
|
![]() ![]() |
Group | |
![]() ![]() |
GroupBy(IQueryable, IEnumerableIGroupDescriptor) |
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.
|
![]() ![]() |
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 | |
![]() ![]() |
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.
|
![]() ![]() |
ToIList |
Creates a IListT 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.
|