Closed ninomartini closed 1 year ago
This is by design, because "Additional arguments" stands for the arguments list for your startup project, not for the dotnet ef
.
See https://learn.microsoft.com/en-us/ef/core/cli/dotnet#aspnet-core-environment:
The
--
token directsdotnet ef
to treat everything that follows as an argument and not try to parse them as options. Any extra arguments not used by dotnet ef are forwarded to the app.
The context class should be configurable from the dialog itself as a field "DbContext", but seems like it's missing due to a bug, I'll fix it in the next release.
Thank you for the quick response. I greatly appreciate your hard work on this awesome plugin for Rider.
The additional argument adds dashes and extra space when using the "Drop Database" feature in a project with multiple contexts.