Skip to content

Can't Use With EF - 'No Entity Framework provider found ...' #1353

Closed Answered by bgrainger
BRebey asked this question in Q&A
Discussion options

You must be logged in to vote

This may be because the provider does not support Entity Framework 6 or later

The error message identifies the problem: There is no EF6 support in MySqlConnector. If you're using EF6, the only option is MySql.Data.EntityFramework with MySql.Data. (As far as I know, there is no way to use the Oracle EF implementation with the MySqlConnector ADO.NET implementation.)

If you can migrate to EF Core, then you can use Pomelo.EntityFrameworkCore.MySql which supports EF Core 7. (Note that EF7 requires .NET 6, but EF Core 3.1.x can run on .NET Framework 4.6.1; however, it may be unsupported.)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by BRebey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants