Entity Framework wizard crashes on MySQL

前端 未结 10 676
离开以前
离开以前 2020-12-16 11:50

My question is similar to this one but the crash happens later. I must interoperate an EF database-first model between SQL Server and MySQL. More specifical

10条回答
  •  半阙折子戏
    2020-12-16 12:24

    I have no idea why this works but I went in to my NuGet Package Manager and removed the MySql.Data.Entity (also checked dependencies which removed MySql.Data). I went into my .edmx and ran the 'Update model from database...' and everything worked.

    (Note: This also removed my entity framework so I had to add that back in using the NuGet Manager)

    W...T...F?

    Maybe others can confirm this...

提交回复
热议问题