Please read this readme and think of executing Add-Migration [MyMigrationName] and update-database in the Package Manager Console first.
The database should now be visible inside your SQL Server Management Studio.
The project.json file includes tha Entity Framework SQLServer package as well as the EF Core itself and the EF Core Tools. The tools are mentioned twice: Once in the “dependencies”-section and once in the “tools”-section
The appsettings contain beside the well known logging section the connectionstring to target the database:
This connectionstring is consumed in …
…the startup-file. With
we can read the connectionstring and pass it to the “UseSQLServer”-Method.
The Database Context
In the DbContext you pass the DbSet of your Entites as you are used to it when working with the Entity Framework also in previous versions. But see the new constructor EF Core introduces.
If you now run the solution you can perform CRUD operations for example via postman, angular etc…