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,System.Web.Mvc.ModelStateDictionary)
Parameters
queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - System.Web.Mvc.ModelStateDictionary
ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.ModelStateDictionary)
Parameters
queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - System.Web.Mvc.ModelStateDictionary
ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.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 - System.Web.Mvc.ModelStateDictionary
ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.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 - System.Web.Mvc.ModelStateDictionary
ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.ModelStateDictionary,System.Func)
Parameters
queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - System.Web.Mvc.ModelStateDictionary
selector - System.Func<TModel,TResult>
ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.ModelStateDictionary,System.Func)
Parameters
queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - System.Web.Mvc.ModelStateDictionary
selector - System.Func<TModel,TResult>
ToTreeDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.ModelStateDictionary)
Parameters
queryable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - System.Web.Mvc.ModelStateDictionary
ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.ModelStateDictionary)
Parameters
enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
idSelector - System.Linq.Expressions.Expression<Func>
parentIDSelector - System.Linq.Expressions.Expression<Func>
modelState - System.Web.Mvc.ModelStateDictionary
ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.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 - System.Web.Mvc.ModelStateDictionary
ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.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 - System.Web.Mvc.ModelStateDictionary
ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.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 - System.Web.Mvc.ModelStateDictionary
selector - System.Func<TModel,TResult>
ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.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 - System.Web.Mvc.ModelStateDictionary
selector - System.Func<TModel,TResult>
ToTreeDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.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 - System.Web.Mvc.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,System.Web.Mvc.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 - System.Web.Mvc.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 ActionResult 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 ActionResult 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
cancellationToken - System.Threading.CancellationToken
ToDataSourceResult(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Web.Mvc.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 - System.Web.Mvc.ModelStateDictionary
An instance of System.Web.Mvc.ModelStateDictionary.
RETURNS
A DataSourceResult object, which contains the processed data after paging, sorting, filtering and grouping are applied.
Example
public ActionResult Orders_Read([DataSourceRequest] DataSourceRequest request)
{
var result = GetOrders().ToDataSourceResult(request, ModelState);
return Json(result);
}
ToDataSourceResultAsync(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Web.Mvc.ModelStateDictionary)
Parameters
enumerable - System.Collections.IEnumerable
request - DataSourceRequest
modelState - System.Web.Mvc.ModelStateDictionary
ToDataSourceResultAsync(System.Collections.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Web.Mvc.ModelStateDictionary,System.Threading.CancellationToken)
Parameters
enumerable - System.Collections.IEnumerable
request - DataSourceRequest
modelState - System.Web.Mvc.ModelStateDictionary
cancellationToken - 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 ActionResult 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,System.Web.Mvc.ModelStateDictionary,System.Func)
Parameters
enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
modelState - System.Web.Mvc.ModelStateDictionary
selector - System.Func<TModel,TResult>
ToDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Web.Mvc.ModelStateDictionary,System.Func)
Parameters
enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
modelState - System.Web.Mvc.ModelStateDictionary
selector - System.Func<TModel,TResult>
ToDataSourceResultAsync(System.Collections.Generic.IEnumerable,Kendo.Mvc.UI.DataSourceRequest,System.Web.Mvc.ModelStateDictionary,System.Func,System.Threading.CancellationToken)
Parameters
enumerable - System.Collections.Generic.IEnumerable<TModel>
request - DataSourceRequest
modelState - System.Web.Mvc.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,System.Web.Mvc.ModelStateDictionary,System.Func)
Parameters
enumerable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
modelState - System.Web.Mvc.ModelStateDictionary
selector - System.Func<TModel,TResult>
ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Web.Mvc.ModelStateDictionary,System.Func)
Parameters
queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
modelState - System.Web.Mvc.ModelStateDictionary
selector - System.Func<TModel,TResult>
ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Web.Mvc.ModelStateDictionary,System.Func,System.Threading.CancellationToken)
Parameters
queryable - System.Linq.IQueryable<TModel>
request - DataSourceRequest
modelState - System.Web.Mvc.ModelStateDictionary
selector - System.Func<TModel,TResult>
cancellationToken - System.Threading.CancellationToken
ToDataSourceResult(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Web.Mvc.ModelStateDictionary)
Parameters
queryable - System.Linq.IQueryable
request - DataSourceRequest
modelState - System.Web.Mvc.ModelStateDictionary
ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Web.Mvc.ModelStateDictionary)
Parameters
queryable - System.Linq.IQueryable
request - DataSourceRequest
modelState - System.Web.Mvc.ModelStateDictionary
ToDataSourceResultAsync(System.Linq.IQueryable,Kendo.Mvc.UI.DataSourceRequest,System.Web.Mvc.ModelStateDictionary,System.Threading.CancellationToken)
Parameters
queryable - System.Linq.IQueryable
request - DataSourceRequest
modelState - System.Web.Mvc.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)
Parameters
source - System.Linq.IQueryable
groupDescriptors - System.Collections.Generic.IEnumerable<GroupDescriptor>
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>
includeParents - 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, JsonRequestBehavior.AllowGet);
}
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,System.Web.Mvc.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 - System.Web.Mvc.ModelStateDictionary
An instance of System.Web.Mvc.ModelStateDictionary.
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, JsonRequestBehavior.AllowGet);
}