When performing an update-database, I wanted to use a connection different from the default. In order to discover the option to use, I run "update-database --help". This reported the option to use as --connection <CONNECTION>
. This, however, didn't work. The answer I found in issue #22390: The option should be -Connection <CONNECTION>
.
This basically solved my problem.
Issue #31218, referring to the aforementioned issue, is quite similar.
Now the point of this issue report is that the help should report the correct parameters, with single dashes instead of double.
[Using EF core tools v9.0.9]