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

Reverse engineering: Have a way to discover installed providers so you don't always need to specify them in commands #13940

Open
Tracked by #22948
divega opened this issue Nov 12, 2018 · 0 comments

Comments

@divega
Copy link
Contributor

divega commented Nov 12, 2018

Currently the experience with scaffolding is that you have to install the tools and the provider first, and then repeat the name of the provider in the scaffolding command, e.g.:

dotnet ef dbcontext scaffold Name=Chinook Microsoft.EntityFrameworkCore.SqlServer

If we had a way to discover what providers are installed (e.g. via an assembly attribute) we could:

  • Remove the requirement to specify the provider if there is only one
  • Inform what providers are available if there is more than one
  • Compensate for any mismatch between the package names, assembly names, and what users think the name of the provider is (e.g. something like this may help with our SQLite provider if you have installed the .Core package).

cc @bricelam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants