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

  • Home
  • SEARCH
  • 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 6145639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:49:27+00:00 2026-05-23T18:49:27+00:00

I am currently intresting on learning myself using Entity Framework since I like the

  • 0

I am currently intresting on learning myself using Entity Framework since I like the basic idea with OR mapping.

However to learn this my intention was to take a certification in Entity Framework (DataAccess the certification is called in Microsoft world).

After have started to read the exam book and also doing the labs I have come to the conclusion that many things gets pretty hard tightned in the UI with the Entity Framework (at least in the book). I refuse to think that this is the way it’s done in the real life projects.

So I have two questions (maybe they map together a bit):

  1. How do I realy handling the ObjectContext in real life? Is it realy open all the time as in the labs? They passing it around to different windows and keeping it open. This feels for me at least pretty stupid at least in the way of re use of my code. Since in the end there will be X amount of database questions that is exactly the same in a bigger project.

  2. Do anyone have a good link to a pattern that you have used for your Entity Framework solutions in a real project?

Thanks alot for your time!

  • 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-23T18:49:28+00:00Added an answer on May 23, 2026 at 6:49 pm

    You are correct that the labs do suggest working like that is just fine. I suggest you take a look at Entity Framework 4 in action.

    Most of the time you’ll put your entity framework context behind an interface to reduce coupling and improve testability. With EF4 (and even better in 4.1) we also now have POCO support which means your entities don’t have to inherit from any special Entity Framework class.

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

Sidebar

Related Questions

Currently i`m interesting in play framework because this framework promise faster development. When i
I have just begun scraping basic text off web pages, and am currently using
I'm currently in the beginning of learning WCF, as some of the concepts and
I'm currently using ISAPI Rewrite I'd interesting in moving my ColdFusion app to Apache
Currently we use log4net of version 1.2.10.0 and we should start using some 3rd
I have an interesting problem. I currently have a basic template library that renders
I am currently learning Erlang Can SO users give interesting examples of any of
I'm currently learning to use SymPy. It seems interesting and useful, but I haven't
I'm currently developing a very simple app with very basic syntax highlighting in a
Greetings, currently I am refactoring one of my programs, and I found an interesting

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.