entity framework core 1

entity framework core

cd %ProjectDirectory%
dotnet ef dbcontext scaffold "connectionstring" Microsoft.EntityFrameworkCore.SqlServer -o Models --force

Here is what the above code is Doing:
1. Change the directory to the project directory
2. Run the scaffold command to generate the models

Similar Posts