Install entity framework in API project


Install entity framework in API project

Install Entity Framework 

You need to install EntityFramework.dll (EF API) in your project in Visual Studio in order to work with the Code-First approach.

Here, we will install Entity Framework  API using NuGet Package Manager in Visual Studio. (You can install EF via NuGet the same way in any version of Visual Studio.)

Right click on your project in the solution explorer and select Manage NuGet Packages.

This will open the Manage NuGet Packages dialogue box. Search for EntityFramework in the top left search box and press Enter. It will display all the API/plug-ins starting with EntityFramework..

Select EntityFramework (make sure that the author is Microsoft and the version is 6.x) and click on Install. This will open the preview box as shown below. Review the changes and click OK.

Subscribe & Stay Connected! Thank You! ♥

Blog : http://aspdotnetexplorer.blogspot.com

#Web #API #Restful #Service #RestAPI #core #API2

Post a Comment

Previous Post Next Post