- Create an new
.env
file inside theapi
folder - From
.env.development
copy the contents - Paste the
.env.development
contents into the.env
file - You may need to change the
Username
orPassword
based on your local configuration
- Create an migration via the
CLI
dotnet ef migrations add short_description_of_your_migration
- Execute the migration via the
CLI
dotnet ef database update
NOTE: if any of the following method names are the actions you want to make. Use the following
- Create
- Update
- UpdatePartial
- Delete
- ShowSingle
- ShowAll
- Documentation for validation: https://docs.fluentvalidation.net/en/latest/