Skip to content

armendu/win-it

Repository files navigation

win-it

Useful commands

For database migrations

Open CLI inside the project and change the directory to the DataAccess project using:

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

About

A Lottery game made using ASP.NET Core 2.1

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published