I need help for a dynamic where clause over relational tables (one to many) in LinqToSql.
User select conditions from page. (there is 4 input that u
RobS supplied what I think is the most attractive solution. However, this is the method I was using but then I realized that it is actually performing the first query in full (Linq-To-SQL) and then the subsequent .Where() clauses are performed with just LINQ. So this is not a viable solution as the entire set of data is enumerated and then filtered out aftwerwards in memory.
Please correct me if I'm wrong - but this is what I've noticed.