Entity Framework Installing The Entity Framework NuGet Package


Example

In your Visual Studio open the Solution Explorer window then right click on your project then choose Manage NuGet Packages from the menu:

Manage nuget packages

In the window that opens type EntityFramework in the search box in the top right.

enter image description here

Or if you are using Visual Studio 2015 you'll see something like this:

enter image description here

Then click Install.

We can also install entity framework using the package manager console. To do you have first to open it using the Tools menu -> NuGet Package Manager -> Package Manager Console then enter this:

Install-Package EntityFramework

enter image description here

This will install Entity Framework and automatically add a reference to the assembly in your project.