I want to represent the datas of an existing local Access DB on a Homepage. For that I use ASP.NET MVC with Framework 4.7.2. I have to use EntityFrameworkCore.Jet, so I can't use Core. Following packages were installed:
- Microsoft.EntityFrameworkCore.Design
- Microsoft.EntityFrameworkCore.Tools
- EntityFrameworkCore.Jet
So I try to scaffold my Database in the Package-Manager-Console:
Scaffold-DbContext “Data Source=C:\...\AKneu.mdb” EntityFrameworkCore.Jet -OutputDir Models
But it throws back an Error:
System.TypeLoadException: The method "Create" in the type "EntityFrameworkCore.Jet.Scaffolding.Internal.JetDatabaseModelFactory" of the assembly "EntityFrameworkCore.Jet, Version = 2.2.0.0, Culture = neutral, PublicKeyToken = adb9793829ddae60" has no implementation.
I couldn't find a reason why it can't find the assembly. Do you have anything in mind, why it doesn't work?