Visual Studio 2012 does not have an Entity Framework menu

My copy of Visual Studio 2012 does not have an Entity Framework menu.

http://i.stack.imgur.com/9PMDG.jpg

How can I get it?

http://msdn.microsoft.com/zh-cn/data/jj200620

I am using Visual Studio 2012 Update 2.

+4
source share
2 answers

There are two things to install if you are using an entity framework:

  • Entity Framework in Package Manager Console

PM> Install-Package EntityFramework

or Install-package EntityFramework -pre if after EF6 in the current state

Powertools offer some useful options that appear in this context menu.

Remember to right-click in the file containing DBContext to get the correct behavior.

Context Menu

+1
source

You can install it from the Entity Framework Infrastructure Tools . This add-on is for Visual Studio.

0
source

Source: https://habr.com/ru/post/1479099/


All Articles