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

后端 未结 5 2257
攒了一身酷
攒了一身酷 2021-02-11 22:46

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:39

    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

提交回复
热议问题