Linq with EF dynamic search
- by malik
I am using EF 3.5 with MVC.
I want to made a search page, has some fields for criteria like date, int etc.
What is the way in linq to entities to filter the result dynamically.
If there are one parameter we can use
.where(a=a.id==1)
but many combination with optional param how can i load results and then pass to model.