New to Telerik UI for ASP.NET Core? Download free 30-day trial

QueryableExtensions

Methods

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

enumerable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func)

Parameters

queryable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

queryable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func)

Parameters

queryable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Func,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

queryable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

queryable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToDataSourceResult(System.Data.DataTable,Kendo.Mvc.UI.DataSourceRequest)

Applies paging, sorting, filtering and grouping using the information from the DataSourceRequest object. If the collection is already paged, the method returns an empty resullt.

Parameters

dataTable - System.Data.DataTable

An instance of System.Data.DataTable.

request - DataSourceRequest

An instance of DataSourceRequest.

RETURNS

A DataSourceResult object, which contains the processed data after paging, sorting, filtering and grouping are applied.

Example


            public IActionResult Orders_Read([DataSourceRequest] DataSourceRequest request)
            {
                 var result = GetOrders().ToDataSourceResult(request);
                 return Json(result);
            }

ToDataSourceResultAsync(System.Data.DataTable,Kendo.Mvc.UI.DataSourceRequest)

Parameters

dataTable - System.Data.DataTable
request - DataSourceRequest

ToDataSourceResultAsync(System.Data.DataTable,Kendo.Mvc.UI.DataSourceRequest,System.Threading.CancellationToken)

Parameters

dataTable - System.Data.DataTable
request - DataSourceRequest
cancellationToken - System.Threading.CancellationToken

ToDataSourceResult(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest)

Applies paging, sorting, filtering and grouping using the information from the DataSourceRequest object. If the collection is already paged, the method returns an empty result.

Parameters

enumerable - System.Collections.IEnumerable

An instance of System.Collections.IEnumerable.

request - DataSourceRequest

An instance of DataSourceRequest.

RETURNS

A DataSourceResult object, which contains the processed data after paging, sorting, filtering and grouping are applied.

Example


            public IActionResult Orders_Read([DataSourceRequest] DataSourceRequest request)
            {
                 var result = GetOrders().ToDataSourceResult(request);
                 return Json(result);
            }

ToDataSourceResultAsync(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest)

Parameters

enumerable - System.Collections.IEnumerable
request - DataSourceRequest

ToDataSourceResultAsync(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.IEnumerable
request - DataSourceRequest
cancellation - System.Threading.CancellationToken

ToDataSourceResult(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Applies paging, sorting, filtering and grouping using the information from the DataSourceRequest object. If the collection is already paged, the method returns an empty result.

Parameters

enumerable - System.Collections.IEnumerable

An instance of System.Collections.IEnumerable.

request - DataSourceRequest

An instance of DataSourceRequest.

modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

An instance of .

RETURNS

A DataSourceResult object, which contains the processed data after paging, sorting, filtering and grouping are applied.

Example


            public IActionResult Orders_Read([DataSourceRequest] DataSourceRequest request)
            {
                 var result = GetOrders().ToDataSourceResult(request, ModelState);
                 return Json(result);
            }

ToDataSourceResultAsync(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

enumerable - System.Collections.IEnumerable
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToDataSourceResultAsync(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.IEnumerable
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
cancellation - System.Threading.CancellationToken

ToDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest)

Applies paging, sorting, filtering and grouping using the information from the DataSourceRequest object. If the collection is already paged, the method returns an empty result.

Parameters

queryable - System.Linq.IQueryable

An instance of System.Linq.IQueryable.

request - DataSourceRequest

An instance of DataSourceRequest.

RETURNS

A DataSourceResult object, which contains the processed data after paging, sorting, filtering and grouping are applied.

Example


            public IActionResult Orders_Read([DataSourceRequest] DataSourceRequest request)
            {
                 var result = GetOrders().ToDataSourceResult(request);
                 return Json(result);
            }

ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest)

Parameters

queryable - System.Linq.IQueryable
request - DataSourceRequest

ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable
request - DataSourceRequest
cancellationToken - System.Threading.CancellationToken

ToDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Func)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>

ToDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Func)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>

ToDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Func,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Func)

Parameters

enumerable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>

ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>

ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Func,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

enumerable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>

ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Func,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

queryable - System.Linq.IQueryable
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

queryable - System.Linq.IQueryable
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
cancellationToken - System.Threading.CancellationToken

Sort(System.Linq.IQueryable,System.Collections.Generic.IEnumerable)

Parameters

source - System.Linq.IQueryable
sortDescriptors - System.Collections.Generic.IEnumerable<SortDescriptor>

Page(System.Linq.IQueryable,System.Int32,System.Int32)

Parameters

source - System.Linq.IQueryable
pageIndex - System.Int32
pageSize - System.Int32

Select(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)

Parameters

source - System.Linq.IQueryable
selector - System.Linq.Expressions.LambdaExpression

GroupBy(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)

Parameters

source - System.Linq.IQueryable
keySelector - System.Linq.Expressions.LambdaExpression

OrderBy(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)

Parameters

source - System.Linq.IQueryable
keySelector - System.Linq.Expressions.LambdaExpression

OrderByDescending(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression)

Parameters

source - System.Linq.IQueryable
keySelector - System.Linq.Expressions.LambdaExpression

OrderBy(System.Linq.IQueryable,System.Linq.Expressions.LambdaExpression,System.Nullable)

Parameters

source - System.Linq.IQueryable
keySelector - System.Linq.Expressions.LambdaExpression
sortDirection - System.Nullable<ListSortDirection>

GroupBy(System.Linq.IQueryable,System.Collections.Generic.IEnumerable,System.Boolean)

Parameters

source - System.Linq.IQueryable
groupDescriptors - System.Collections.Generic.IEnumerable<GroupDescriptor>
includeItems - System.Boolean

GroupBy(System.Linq.IQueryable,System.Linq.IQueryable,System.Collections.Generic.IEnumerable,System.Boolean)

Parameters

source - System.Linq.IQueryable
notPagedData - System.Linq.IQueryable
groupDescriptors - System.Collections.Generic.IEnumerable<GroupDescriptor>
includeItems - System.Boolean

Aggregate(System.Linq.IQueryable,System.Collections.Generic.IEnumerable)

Parameters

source - System.Linq.IQueryable
aggregateFunctions - System.Collections.Generic.IEnumerable<AggregateFunction>

Where(System.Linq.IQueryable,System.Linq.Expressions.Expression)

Parameters

source - System.Linq.IQueryable
predicate - System.Linq.Expressions.Expression

Where(System.Linq.IQueryable,System.Collections.Generic.IEnumerable)

Parameters

source - System.Linq.IQueryable
filterDescriptors - System.Collections.Generic.IEnumerable<IFilterDescriptor>

Take(System.Linq.IQueryable,System.Int32)

Parameters

source - System.Linq.IQueryable
count - System.Int32

Skip(System.Linq.IQueryable,System.Int32)

Parameters

source - System.Linq.IQueryable
count - System.Int32

Count(System.Linq.IQueryable)

Parameters

source - System.Linq.IQueryable

ElementAt(System.Linq.IQueryable,System.Int32)

Parameters

source - System.Linq.IQueryable
index - System.Int32

Union(System.Linq.IQueryable,System.Linq.IQueryable)

Parameters

source - System.Linq.IQueryable
second - System.Linq.IQueryable

ToTreeDataSourceResult(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest)

Applies sorting, filtering and grouping using the information from the DataSourceRequest object. If the collection is already paged, the method returns an empty result.

Parameters

enumerable - System.Collections.IEnumerable

An instance of System.Collections.IEnumerable.

request - DataSourceRequest

An instance of DataSourceRequest.

RETURNS

A TreeDataSourceResult object, which contains the processed data after sorting, filtering and grouping are applied.

Example


            public JsonResult Employees_Read([DataSourceRequest] DataSourceRequest request, int? id)
            {
                var result = GetEmployees(id).ToTreeDataSourceResult(request);
                return Json(result);
            }

ToTreeDataSourceResultAsync(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest)

Parameters

enumerable - System.Collections.IEnumerable
request - DataSourceRequest

ToTreeDataSourceResultAsync(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.IEnumerable
request - DataSourceRequest
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Applies sorting, filtering and grouping using the information from the DataSourceRequest object. If the collection is already paged, the method returns an empty result.

Parameters

enumerable - System.Collections.IEnumerable

An instance of System.Collections.IEnumerable.

request - DataSourceRequest

An instance of DataSourceRequest.

modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

An instance of .

RETURNS

A TreeDataSourceResult object, which contains the processed data after sorting, filtering and grouping are applied.

Example


            public JsonResult Employees_Read([DataSourceRequest] DataSourceRequest request, int? id)
            {
                var result = GetEmployees(id).ToTreeDataSourceResult(request, ModelState);
                return Json(result);
            }

ToTreeDataSourceResultAsync(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

enumerable - System.Collections.IEnumerable
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ToTreeDataSourceResultAsync(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.IEnumerable
request - DataSourceRequest
modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Func)

Parameters

enumerable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Func)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Func,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Func)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Func)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>

ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Func,System.Threading.CancellationToken)

Parameters

enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)

Parameters

enumerable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Threading.CancellationToken)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
cancellationToken - System.Threading.CancellationToken

ToTreeDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)

Parameters

enumerable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>

ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression)

Parameters

queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
rootSelector - System.Linq.Expressions.Expression<Func>
In this article
Not finding the help you need?