https://github.com/pencsharpener/guest-room
https://github.com/pencsharpener/guest-room
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pencsharpener/guest-room
- Owner: penCsharpener
- License: mit
- Created: 2020-11-18T19:51:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-16T19:09:21.000Z (over 4 years ago)
- Last Synced: 2025-09-08T22:43:20.731Z (9 months ago)
- Language: C#
- Size: 1.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# guest-room
## EF Core
_From terminal_
* open project path of GuestRoom.Domain
* ensure 'Microsoft.EntityFrameworkCore.Tools' is installed via `Install-Package Microsoft.EntityFrameworkCore.Tools`
* ensure dotnet-ef is up to date with `dotnet tool update --global dotnet-ef --version 5.0.1`
* add migration like so `dotnet ef migrations add Initial -o Migrations -s ..\GuestRoom.Api\`
* alternatively cd into the GuestRoom.Api project and run `dotnet ef migrations add Initial -o Migrations -p ..\GuestRoom.Domain\`