Linq with EF dynamic search

Posted by malik on Stack Overflow See other posts from Stack Overflow or by malik
Published on 2010-01-16T07:09:28Z Indexed on 2010/04/06 21:43 UTC
Read the original article Hit count: 232

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.

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about asp.net-mvc