entity framework in dotnet core code example
Example 1: c# .net core entity framework
//ref https://softchris.github.io/pages/dotnet-orm.html#why-orm
Example 2: entity framework core
cd %ProjectDirectory%
dotnet ef dbcontext scaffold "connectionstring" Microsoft.EntityFrameworkCore.SqlServer -o Models --force