David Veeneman
David Veeneman

Reputation: 19122

Entity Framework 4 Repository?

I am learning Entity Framework 4, and I want to use the Repository pattern to organize and isolate my persistence objects. I have done some research here and elsewhere on the web, and I am having a difficult time finding anything really useful on the subject. Most of the blogs look like simple ports of repositories from other ORM systems, with lots of contradictory advice. Most seem to pass the object context to the business layer, which would seem to defeat the purpose of a repository approach.

Can anyone suggest a good article, book, or blog the explains how to implement the Repository pattern with Entity Framework 4, without polluting the business layer with persistence objects? Thanks for your help.

Upvotes: 9

Views: 1872

Answers (1)

Related Questions