Skip to content

AhmedKhalil777/FoodCourt

Repository files navigation

EF Migrations

# Visual Studio 

Add-Migration V1 -context FoodCourt.Infrastructure.Data.AppDbContext -Project FoodCourt.Web
Update-Database V1 -context FoodCourt.Infrastructure.Data.AppDbContext -Project FoodCourt.Web

# CMD or Ps
dotnet ef --startup-project ./src/FoodCourt.Web/FoodCourt.Web.csproj migrations add V1 --context FoodCourt.Infrastructure.Data.AppDbContext --output-dir Migrations --project ./src/FoodCourt.Web/FoodCourt.Web.csproj
dotnet ef --startup-project ./src/FoodCourt.Web/FoodCourt.Web.csproj database update V1 --context FoodCourt.Infrastructure.Data.AppDbContext  --project ./src/FoodCourt.Web/FoodCourt.Web.csproj

About

A food court manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published