Asp.NET Core 3.1, Microsoft.EntityFrameworkCore and MySQL.EntityFrameworkCore
I tried to add a connection using a (use a typed data context from your own assembly) Entity Framework Core (2.x, 3.x, 5.x), when I try to add it or when I test it, it gives me the following error:
Please advice, I bought your tool to be able to test my linq queries, but I haven't been able to use it at all. I had the previous version 5 and never had any issues.
Comments
-
What's happening here is that the authors of the MySQL EF Core package had a misspelling in their "Infrastructure" namespace:
MySql.Data.EntityFrameworkCore.Infraestructure.MySQLDbContextOptionsBuilder
In version 5, they fixed the misspelling, which means that LINQPad's driver can no longer find the type. I've now updated LINQPad so that it checks for both types. You can download the beta here:
https://www.linqpad.net/linqpad6.aspx#beta
Let me know how you get along.
-
Thank you!!! I was able to create the connection successfully!