Dynamic Linq where query

I just wanted to quickly share a pretty nice article about dynamic where predicates in Linq. It requires a little class to make AND and OR combinations with different predicates. The result is a flexible dynamic way of building a where predicate. Linq generates pretty good and effective queries from the predicates. Very nice!

http://www.talentgrouplabs.com/blog/archive/2007/11/26/dynamic-linq-queries–dynamic-where-clause-part-2.aspx

 

 

Related posts

Latest posts

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *