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
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;
The text was updated successfully, but these errors were encountered:
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;
The text was updated successfully, but these errors were encountered: