Installing the required packages
We need to install three NuGet packages to our Solution that will assist us in our quest. This is done through the Package Manager Console
.
Go to Tools
| NuGet Package Manager
| Package Manager Console
:

Entity Framework Core SQL Server
There are various database providers catered for by EF Core, including Microsoft SQL Server, PostgreSQL, SQLite, and MySQL. We will use SQL Server as a database provider.
Note
For a full list of database providers, have a look at the official Microsoft documentation at: https://docs.microsoft.com/en-us/ef/core/providers/index.
In the console window, type the following command and hit Enter:
Install-Package Microsoft.EntityFrameworkCore.SqlServer
You should see a few response lines showing the items that were successfully installed.
Entity Framework Core tools
Next up, we'll install some Entity Framework Core tools that will assist us with creating our database from our models.
In the console window, type the following command and hit...