I am building a pager in my UI that reuses a DataServiceQuery<MyEntityType>
built in another window when it comes to the end of its cached results. My current implementation attempts to do something like:
query = query.Skip(index*page_size).Take(page_size)
where query was previously defined using a dynamic LINQ query as:
query = Where(queryString, queryValues.ToArray()).Take(page_size)
This throws a NotSupportedException: The skip query option cannot be specified after the top query option.
Is there a way to remove the Take (top) portion of the DataServiceQuery, add then Skip(), and then re-add the Take()?