Add DbContext Validate to CLI/PS commands #9052
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
good first issue
This issue should be relatively straightforward to fix.
help wanted
This issue involves technologies where we are not experts. Expert help would be appreciated.
type-enhancement
Milestone
The validation that EF does when you run a migrations command provides very helpful error messages.
Is it possible to have a command just for that task so you don't have to add a migration just to check to see if the model is valid?
CLI
dotnet ef dbcontext validate
Powershell
validate-dbcontext (follows pattern of scaffold-dbcontext)
The text was updated successfully, but these errors were encountered: