EntityFramework library to generate a query like this:
var q = context.Items.Select("new(SomeProperty)")
q is of type
IQueryable at the moment. I can successfully apply
Skip and then execute the query.
But if I try to use the extension method from Kendo, things go south:
var results = q.ToDataSourceResult(new DataSourceRequest())
I get an Exception:
Unknown LINQ expression of type 'Dynamic'.
I know that the
ToDataSourceResult method adds the
Skip to the
IQueryable to do the paging so that's the most likely source of the problem (it does create a dynamic expression if the object is
Any idea how to workaround this?