Install Nuget Packages for Entity Framework Core as below:
- Microsoft.EntityFrameworkCore
- Microsoft.EntityFrameworkCore.Tools
- Microsoft.EntityFrameworkCore.SqlServer
- Microsoft.EntityFrameworkCore.Design
- Microsoft.EntityFrameworkCore.Proxies
Open the Manage NuGet Packages menu in the project
1. Install Microsoft.EntityFrameworkCore Package
2. Install Microsoft.EntityFrameworkCore.Tools Package
3. Install Microsoft.EntityFrameworkCore.SqlServer Package
4. Install Microsoft.EntityFrameworkCore.Design Package
5. Install Microsoft.EntityFrameworkCore.Proxies Package
Project structure after installing Nuget Packages