EF Core 2.1.4

I created assembly with my DbContext targeting netstandard2.0. It referenced EF Core 2.1.4.
I installed driver Entity Framework Core 2.1.2 in LINQPad (the highest version available).

When adding the assembly to LINQPad, it first complains that the diver is intended for EF Core 2.1.2.0 and I may receive InvalidCastException. I can only clik OK and then I get Could not load assembly Microsoft,EntityFrameworkCore 2.1.4.0 or one of its dependencies..

Is there a way to get it work?

Comments

  • I was able to get it work now with LINQPad Beta v5.36 and Driver: "EF Core Driver v2.2 (for EF Core 2.x)". I had to add new DbContect constructor with string parameter as described here.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!