Skip to content

What of DbConfigurationType? #1104

Answered by bgrainger
juho2-hamk asked this question in Q&A

You must be logged in to vote

There is no Entity Framework driver for MySQL that uses MySqlConnector. If you're using EF, you need to stick with MySql.Data.EntityFramework (and MySql.Data).

If you're using Entity Framework Core, then Pomelo.EntityFrameworkCore.MySql is a replacement for MySql.Data.EntityFrameworkCore or MySql.EntityFrameworkCore.

You'll have to evaluate the migration effort, but it may not be worth switching from EF to EF Core just to use MySqlConnector, particularly if that also requires a switch from .NET Framework to .NET 6.0.

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@juho2-hamk

Answer selected by juho2-hamk
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