About the use of entity framework?

The visual studio community 2017 used by

has already installed entity framework 6 through visual studio installer. To use ef, in the http://asp.net mvc project, you still need to reinstall it through nuget?


you may not understand the relationship between installing the development environment and creating a new project.
first of all, you must install ef locally to use ef, in your project. So far, it looks like you've finished it.

if you want to use ef, in your project, you need to install ef,nuget in the project. If you have ef, on your local computer directly from the local copy to your project directory, if not, download ef from the network to your project directory.

you can also right-click on the project and add the relevant templates for ef. At this time, the ef framework will be installed automatically.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8a971-fe9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8a971-fe9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?