Entity Framework's Entity Data Wizard Crashes When Connecting to MySQL Database

后端 未结 5 1849
遇见更好的自我
遇见更好的自我 2021-02-11 23:11

I am attempting to create an Entity Data Model using the wizard to reverse engineer an existing MySQL database. I get to the Choose Your Data Connection page of the wizard, sele

5条回答
  •  难免孤独
    2021-02-11 23:41

    I had this problem today, following the tips here that it is a "version mismatch" is completely correct!

    My important "discovery" is that they have renamed the package you need for EF6! As many people here has discovered (for example "Nofi"), downgrading to match versions fixes the problem. However, instead of downgrading the new versions, swap out the Mysql.Data.Entity package for the newer MySql.Data.EntityFramework! :)

    short: use MySql.Data.EntityFramework, NOT Mysql.Data.Entity

提交回复
热议问题