Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4096886
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:06:11+00:00 2026-05-20T20:06:11+00:00

I am learning Entity Framework 4, and I want to use the Repository pattern

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T20:06:12+00:00Added an answer on May 20, 2026 at 8:06 pm

    Here is a list of bookmarks I have about this topic. I prefer a combination of approaches given in these so unfortunately I don’t have a single pick.

    http://www.primaryobjects.com/CMS/Article122.aspx

    https://github.com/geersch/EntityFrameworkObjectContext

    http://blogs.microsoft.co.il/blogs/gilf/archive/2010/06/21/revisiting-the-repository-and-unit-of-work-patterns-with-entity-framework.aspx

    http://blogs.msdn.com/b/adonet/archive/2009/06/16/using-repository-and-unit-of-work-patterns-with-entity-framework-4-0.aspx

    http://huyrua.wordpress.com/2010/07/13/entity-framework-4-poco-repository-and-specification-pattern/

    http://www.codeproject.com/KB/database/ImplRepositoryPatternEF.aspx

    http://elegantcode.com/2009/12/15/entity-framework-ef4-generic-repository-and-unit-of-work-prototype/

    http://www.mindscapehq.com/blog/index.php/2008/05/12/using-the-unit-of-work-per-request-pattern-in-aspnet-mvc/

    http://mfelicio.wordpress.com/2010/02/07/managing-the-entity-framework-objectcontext-instance-lifetime-in-wcf-and-sharing-it-among-repositories/

    http://www.west-wind.com/weblog/posts/246222.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am learning repository pattern and was reading Repository Pattern with Entity Framework 4.1
I am just learning the Entity Framework and have made some good progress on
I have creating a learning application with play framework and i want to use
I am just learning to use the Entity framework and I wondered how I
I'm in the early stages of learning to use Entity Framework 4.1 using the
I'm learning Entity Framework and have noticed that its Designer looks a lot like
I am interested in learning all about the Entity Framework. I have found these
I've just started learning how to use the Entity Framework to write a very
I am learning Entity Framework 4. I have a simple ASP.NET (Web Form) application.
I need to use an Entity framework with my application, and I have used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.