MySQLNumberTypeMapping' does not support value conversions

前端 未结 3 2101
余生分开走
余生分开走 2021-02-14 07:44

I\'ve added a few models that I used to connect to a SQL database with and are now porting to MySQL . I am getting this error when I run : dotnet ef update --context {cont

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-14 08:09

    I was able to fix this issue by upgrading MySQL.Data.EntityFrameworkCore from 6.10.8 to 8.015 (released 2/1/2019) and upgrading .NET Core from 2.0 to 2.2.

    I believe the issue has been fixed in version 8.

提交回复
热议问题