Skip to content

fredcoff/employee-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmployeeTask

Database Migrations

Add a migration

dotnet ef migrations add InitialCreate -o Persistence/Migrations --project src/Infrastructure --startup-project src/WebUI

Remove the last migration

dotnet ef migrations remove --project src/Infrastructure --startup-project src/WebUI

Database settings

appsettings.json

  // "UseInMemoryDatabase": true,
  "ConnectionStrings": {
      "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=EmployeeTaskTestDb;Trusted_Connection=True;MultipleActiveResultSets=true;"
  },
  "UseInMemoryDatabase": false,
  "ConnectionStrings": {
    "DefaultConnection": "Data Source=192.168.101.200;Persist Security Info=True;User ID=sa;Password=aaaa;Database=EmployeeTaskTestDb;MultipleActiveResultSets=true;"
  },

Comments are not allowed in JSON.
But it appears that we can do so in C#. 🙃

About

ASP .NET Core 3.1.3 + Angular 9 (Inspired by CleanArchitecture)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published