linq2db / linq2db.EntityFrameworkCore

Bring power of Linq To DB to Entity Framework Core projects
MIT License
462 stars 38 forks source link

Does not work with Pomelo provider #15

Closed Mitch528 closed 5 years ago

Mitch528 commented 5 years ago

Pomelo.EntityFrameworkCore.MySql uses MySqlConnector as opposed to MySql.Data, which is currently not supported by linq2db.

Attempting to use the Pomelo provider produces the following result:

FileNotFoundException: Could not load file or assembly 'MySql.Data, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
sdanyliv commented 5 years ago

@Mitch528, try to install MySql.Data in your project by yourself. Pomelo provider uses MySqlConnector which is not supported. So our integration should silently replace connection during execution.

sdanyliv commented 5 years ago

Fixed in 1.6.0