diff --git a/README.md b/README.md index e00e2f0..97126b3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ # EF_WebAPI -This repository make a meeting of EF and WebAPI parts. \ No newline at end of file +This repository make a meeting of EF and WebAPI parts. + +FROM /src dir + +do + +```bash +dotnet ef migrations add --project StubbedContextLib/StubbedContextLib.csproj --startup-project HeartTrackAPI/HeartTrackAPI.csproj --context StubbedContextLib.TrainingStubbedContext --configuration Debug Initial --output-dir Migrations +``` +then + +```bash +dotnet ef database update --project StubbedContextLib/StubbedContextLib.csproj --startup-project HeartTrackAPI/HeartTrackAPI.csproj --context StubbedContextLib.TrainingStubbedContext --configuration Debug +```