This tutorial helps to create and update models from an existing database using Entity Framework Core. It explains about Scaffold-DbContext with its parameters like Connection, Provider, OutputDir, Force, Schemas, Tables, DataAnnotations.
Creating models and DBcontext classes from an existing database is called a Database First approach. For this tutorial, you will use .Net Core Class Library which we usually use for Data Access purpose.
- entity-framework-core-database-first-tutorial/DataAnnotations/ has all required entities configured with Data Annotations.
- entity-framework-core-database-first-tutorial/Database scripts has NorthWind database scripts, using this you can create Northwind database.
- entity-framework-core-database-first-tutorial/Models/DB/ has models created from Northwind database.
For more details see blog