实体框架6.2不支持MySql首先在DB上支持json数据类型

时间:2019-05-14 15:15:56

标签: c# mysql json entity-framework entity-framework-6

我们首先使用Entity Framework 6.2和MySql DB中的DB。开始在那里使用json类型,但无法将其映射到EF。在edmx文件中,我发现了错误,听起来像是:

<!--Errors Found During Generation:
warning 6005: The data type 'json' is currently not supported for the target Entity Framework version; the column 'customer_3rd_party_aws' in the table 'def.myquestworld_2.customer_3rd_party' was excluded.
warning 6005: The data type 'json' is currently not supported for the target Entity Framework version; the column 'customer_3rd_party_phonegap' in the table 'def.myquestworld_2.customer_3rd_party' was excluded.
warning 6005: The data type 'json' is currently not supported for the target Entity Framework version; the column 'customer_3rd_party_ios' in the table 'def.myquestworld_2.customer_3rd_party' was excluded.

据我所知,EF 6应该支持json类型,而6.2是当前版本。我错了吗?我该如何解决这个问题?

0 个答案:

没有答案