Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--connection for database update is EFCore 5 onwards. #2505

Merged
merged 2 commits into from
Jul 10, 2020

Conversation

lajones
Copy link
Contributor

@lajones lajones commented Jul 9, 2020

Fixes #2470

Mention that the --connection option for dotnet ef database update is only available from EFCore 5.0.0 onwards.

@lajones lajones self-assigned this Jul 9, 2020
@lajones lajones requested a review from a team July 9, 2020 22:43
@@ -197,7 +197,7 @@ Options:

| | Option | Description |
|:------------------|:-------------------------|:---------------------------------------------------------|
| <nobr> </nobr> | `--connection <CONNECTION>` | The connection string to the database. Defaults to the one specified in `AddDbContext` or `OnConfiguring`. |
| <nobr> </nobr> | `--connection <CONNECTION>` | The connection string to the database. Defaults to the one specified in `AddDbContext` or `OnConfiguring`. (Available from EFCore 5.0.0 onwards.) |

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space between EF and Core, but otherwise approved.

@lajones lajones merged commit b2ba4eb into master Jul 10, 2020
@lajones lajones added this to the 5.0.0 milestone Jul 10, 2020
@smitpatel smitpatel deleted the 20200709_Issue2470_01 branch July 10, 2020 17:11
@lajones lajones removed this from the 5.0.0 milestone Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--connection <CONNECTION> option of database update is not supported
2 participants