entity framework core microsoft docs code example
Example: entity framework core
cd %ProjectDirectory%
dotnet ef dbcontext scaffold "connectionstring" Microsoft.EntityFrameworkCore.SqlServer -o Models --force
cd %ProjectDirectory%
dotnet ef dbcontext scaffold "connectionstring" Microsoft.EntityFrameworkCore.SqlServer -o Models --force