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

Generated ModelContext.cs doesn't compile - need: using EntityFrameworkCore.Jet; #27

Open
formalist opened this issue Feb 15, 2019 · 0 comments

Comments

@formalist
Copy link

formalist commented Feb 15, 2019

In DB First scenario, the generated ModelContex.cs (from Scaffold-DbContext command) doesn't compile, issuing the following error:

Error CS1061: 'DbContextOptionsBuilder' does not contain a definition for 'UseJet' and no accessible extension method 'UseJet' accepting a first argument of type 'DbContextOptionsBuilder' could be found (are you missing a using directive or an assembly reference?)

Just add/generate:

using EntityFrameworkCore.Jet;

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

No branches or pull requests

1 participant