I\'ve been using ObjectContexts
for quite a long time now. Now that I\'ve installed VS 2012, for my surprise the Entity Data Model does not have an option for a Cod
Microsoft recommends the EF5.x DbContext Generator
for new projects. It is the default template in VS2012. PreVS2012 users can find it using the ExtensionManager (search for EF5.x) or download it here.
You can of course still generate EntityObjects
and ObjectContext
by using the EF4.x EntityObject Generator
template which can be found here.
How to set things up is described here.