Entity Framework Getting started with Entity Framework Installing The Entity Framework NuGet Package

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

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.



Got any Entity Framework Question?