Метод | Описание | |
---|---|---|
Aggregate ( this source, IEnumerable |
Calculates the results of given aggregates functions on a sequence of elements.
|
|
Count ( this source ) : int |
Returns the number of elements in a sequence.
|
|
ElementAt ( this source, int index ) : object |
Returns the element at a specified index in a sequence.
|
|
GroupBy ( this source, IEnumerable |
Groups the elements of a sequence according to a specified groupDescriptors.
|
|
GroupBy ( this source, |
Groups the elements of a sequence according to a specified key selector function.
|
|
OrderBy ( this source, |
Sorts the elements of a sequence in ascending order according to a key.
|
|
OrderBy ( this source, |
Calls OrderBy(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression) or OrderByDescending depending on the sortDirection.
|
|
OrderByDescending ( this source, |
Sorts the elements of a sequence in descending order according to a key.
|
|
Page ( this source, int pageIndex, int pageSize ) : IQueryable |
Pages through the elements of a sequence until the specified pageIndex using pageSize.
|
|
Select ( this source, |
Projects each element of a sequence into a new form.
|
|
Skip ( this source, int count ) : IQueryable |
Bypasses a specified number of elements in a sequence and then returns the remaining elements.
|
|
Sort ( this source, IEnumerable |
Sorts the elements of a sequence using the specified sort descriptors.
|
|
Take ( this source, int count ) : IQueryable |
Returns a specified number of contiguous elements from the start of a sequence.
|
|
ToGridModel ( this queryable, Telerik.Web.Mvc.GridState state ) : Telerik.Web.Mvc.GridModel | ||
ToGridModel ( this queryable, int page, int pageSize, IList |
||
ToGridModel ( this queryable, int page, int pageSize, string orderBy, string groupBy, string filter ) : Telerik.Web.Mvc.GridModel | ||
ToGroupingGridModel ( this queryable, IEnumerable |
||
ToIList ( this source ) : IList |
Creates a IList{T} from an IQueryable where T is IQueryable.ElementType.
|
|
Where ( this source, |
Filters a sequence of values based on a predicate.
|
|
Where ( this source, IEnumerable |
Filters a sequence of values based on a collection of IFilterDescriptor.
|
Метод | Описание | |
---|---|---|
CallQueryableMethod ( this source, string methodName, |
||
IsBindableType ( |
||
Ordered ( this source ) : IQueryable | ||
SelectDistinct ( this source, |
public static Aggregate ( this source, IEnumerable |
||
source | this | An |
aggregateFunctions | IEnumerable |
The aggregate functions. |
Результат | AggregateResultCollection |
public static Count ( this source ) : int | ||
source | this |
/// The |
Результат | int |
public static ElementAt ( this source, int index ) : object | ||
source | this | An |
index | int | The zero-based index of the element to retrieve. |
Результат | object |
public static GroupBy ( this source, IEnumerable |
||
source | this | An |
groupDescriptors | IEnumerable |
The group descriptors used for grouping. |
Результат | IQueryable |
public static GroupBy ( this source, |
||
source | this | An |
keySelector | A function to extract the key for each element. | |
Результат | IQueryable |
public static OrderBy ( this source, |
||
source | this | /// A sequence of values to order. /// |
keySelector | /// A function to extract a key from an element. /// | |
Результат | IQueryable |
public static OrderBy ( this source, |
||
source | this | The source. |
keySelector | The key selector. | |
sortDirection | ListSortDirection | The sort direction. |
Результат | IQueryable |
public static OrderByDescending ( this source, |
||
source | this | /// A sequence of values to order. /// |
keySelector | /// A function to extract a key from an element. /// | |
Результат | IQueryable |
public static Page ( this source, int pageIndex, int pageSize ) : IQueryable | ||
source | this | A sequence of values to page. |
pageIndex | int | Index of the page. |
pageSize | int | Size of the page. |
Результат | IQueryable |
public static Select ( this source, |
||
source | this | A sequence of values to project. |
selector | A projection function to apply to each element. | |
Результат | IQueryable |
public static Skip ( this source, int count ) : IQueryable | ||
source | this |
/// An |
count | int | /// The number of elements to skip before returning the remaining elements. /// |
Результат | IQueryable |
public static Sort ( this source, IEnumerable |
||
source | this | A sequence of values to sort. |
sortDescriptors | IEnumerable |
The sort descriptors used for sorting. |
Результат | IQueryable |
public static Take ( this source, int count ) : IQueryable | ||
source | this | The sequence to return elements from. |
count | int | The number of elements to return. |
Результат | IQueryable |
public static ToGridModel ( this queryable, Telerik.Web.Mvc.GridState state ) : Telerik.Web.Mvc.GridModel | ||
queryable | this | |
state | Telerik.Web.Mvc.GridState | |
Результат | Telerik.Web.Mvc.GridModel |
public static ToGridModel ( this queryable, int page, int pageSize, IList |
||
queryable | this | |
page | int | |
pageSize | int | |
sortDescriptors | IList |
|
filterDescriptors | IEnumerable |
|
groupDescriptors | IEnumerable |
|
Результат | Telerik.Web.Mvc.GridModel |
public static ToGridModel ( this queryable, int page, int pageSize, string orderBy, string groupBy, string filter ) : Telerik.Web.Mvc.GridModel | ||
queryable | this | |
page | int | |
pageSize | int | |
orderBy | string | |
groupBy | string | |
filter | string | |
Результат | Telerik.Web.Mvc.GridModel |
public static ToGroupingGridModel ( this queryable, IEnumerable |
||
queryable | this | |
groupDescriptors | IEnumerable |
|
totalCount | int | |
Результат | Telerik.Web.Mvc.GridModel |
public static ToIList ( this source ) : IList | ||
source | this |
/// The |
Результат | IList |
public static Where ( this source, |
||
source | this | An |
predicate | A function to test each element for a condition. | |
Результат | IQueryable |
public static Where ( this source, IEnumerable |
||
source | this | The source. |
filterDescriptors | IEnumerable |
The filter descriptors. |
Результат | IQueryable |