Here's my situation:
What is the best way to integrate the RadGridView/RadDataPager with this Repository?
I have been looking at QueryableCollectionView, but found myself wondering:
- how do the sort and filter parameters get translated into the object context query?
- how does the page information gets passed into an object context query?
Do I need to take care of all these things myself?
Or is there a better integration, so that the Telerik components involved know
how to deal with an IQueryable<T> and do all the paging, sorting, filtering?
Thanks for your time,
Koen
- an MVVM pattern is used on the client
- the View has a readonly RadGridView with sorting and paging through the RadDataPager
- the ViewModel has a Repository, wrapping an EntityFramework ObjectContext
What is the best way to integrate the RadGridView/RadDataPager with this Repository?
I have been looking at QueryableCollectionView, but found myself wondering:
- how do the sort and filter parameters get translated into the object context query?
- how does the page information gets passed into an object context query?
Do I need to take care of all these things myself?
Or is there a better integration, so that the Telerik components involved know
how to deal with an IQueryable<T> and do all the paging, sorting, filtering?
Thanks for your time,
Koen