This question is locked. New answers and comments are not allowed.
I'm querying a database using EF, converting the results to viewmodels that contains some extra calculated values, and then displaying it using a MVC Grid.
Now I would like to enable filtering on the grid.
As I understand it, the grid will automatically perform the filtering operations on the database itself, if passed a proper datacontext object as the datasource. How can I ensure that this still happens when using viewmodels.
Now I would like to enable filtering on the grid.
As I understand it, the grid will automatically perform the filtering operations on the database itself, if passed a proper datacontext object as the datasource. How can I ensure that this still happens when using viewmodels.