win-it
Useful commands
Open CLI inside the project and change the directory to the DataAccess project using: For database migrations
cd .\Data\DataAccess\
Then execute the two following commands:
dotnet ef migrations add initial --startup-project ..\..\Presentation\Presentation\Presentation.csproj
dotnet ef database update --startup-project ..\..\Presentation\Presentation\Presentation.csproj
For Database scaffolding
Use the following commands for database scaffolding:
Scaffold-DbContext "server=localhost;userid=root;password=root;database=winit" Pomelo.EntityFrameworkCore.MySql -OutputDir Models