Disassembled code with ILSpy:
Should replace
by
// Kendo.Mvc.Extensions.QueryableExtensions
private
static
DataSourceResult CreateDataSourceResult(
this
IQueryable queryable, DataSourceRequest request, ModelStateDictionary modelState, LambdaExpression selector)
{
. . . .
Should replace
List<AggregateDescriptor> aggregates =
new
List<AggregateDescriptor>();
if
(aggregates !=
null
)
{
aggregates.AddRange(request.Aggregates);
}
by
List<AggregateDescriptor> aggregates =
new
List<AggregateDescriptor>();
if
(request.Aggregates !=
null
)
{
aggregates.AddRange(request.Aggregates);
}