Kelly Cline
Kelly Cline

Reputation: 2246

How to Upgrade from Entity Framework 4.0 to 4.3

I have a project that uses Entity Framework 4.0. From within that project, I installed 4.3. Some changes appeared in my app.config indicating that I was now using 4.3. However, my generated code still inherits from ObjectContext and creates ObjectSets even if I delete and re-add the edmx. How do I get the generator to use DbContext and DbSets?

Upvotes: 1

Views: 212

Answers (1)

Ladislav Mrnka
Ladislav Mrnka

Reputation: 364259

You must download DbContext T4 template from Visual studio gallery - you can get it from extension manager in Visual studio.

Upvotes: 1

Related Questions