Query object implementation examples

user137348 picture user137348 · Feb 15, 2010 · Viewed 7.3k times · Source

Can anyone recommend good tutorial, implementation or sample code on Query object pattern usage, in C#(Java...)?

I haven't found much with google.

Answer

Anton Gogolev picture Anton Gogolev · Feb 15, 2010

With LINQ being almost everywhere, are you sure you need to reimplement the Query Object?

Basically, you can treat all classes from System.Linq.Expressions to be a good implementation of a Query Object pattern.