EF Query Object Pattern over Repository Example

Posted by Dale Burrell on Stack Overflow See other posts from Stack Overflow or by Dale Burrell
Published on 2012-08-14T05:48:11Z Indexed on 2012/09/05 15:38 UTC
Read the original article Hit count: 400

I have built a repository which only exposes IEnumerable based mostly on the examples in "Professional ASP.NET Design Patterns" by Scott Millett.

However because he mostly uses NHibernate his example of how to implement the Query Object Pattern, or rather how to best translate the query into something useful in EF, is a bit lacking.

I am looking for a good example of an implementation of the Query Object Pattern using EF4.

© Stack Overflow or respective owner

Related posts about c#

Related posts about entity-framework-4