You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while reviewing source control history i found a commit on 3/10 that corresponds with issue #10750 -- this issue discusses adding --connection to dotnet ef database command. upon review of the code it looks like the commit will also update dotnet ef migrations command.
i believe this issue can be closed as 'already fixed' (efcore5 preview3), thanks for the implementation @bricelam / @ajcvickers !
... upon looking more closely i realized i was using the wrong parameter for the desired command. Everything is working exactly as it should be (in EFCore 5 preview 4 👍 ) Thanks again!
I expect to be able to specify a connection string when executing scaffold, migrations, database, and similar commands from cli.
Steps to reproduce
Execute a command which interacts with a database:
Observe error:
Listing the
--help
for the current version does not show alternative names for this option.Further technical details
EF Core version: 3.1.4
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: netcoreapp3.1
Operating system: Windows 10
IDE: Visual Studio 16.6
Shell: PSCore 6
The text was updated successfully, but these errors were encountered: