首页 > 解决方案 > 升级到 EF Core 3.1,现在缺少 IProperty.get_ClrType

问题描述

当我将项目从 EF Core 2.2 升级到 EF Core 3.1 时,我开始收到此错误:

找不到方法:“System.Type Microsoft.EntityFrameworkCore.Metadata.IProperty.get_ClrType()”。

这是在Breeze 模块中。

我查看了Breaking Changes并没有看到任何与此匹配的内容(尽管元数据引用可能包含此内容,而我只是不理解它们)。

这应该是失踪了吗?有解决方法吗?

标签: ef-core-3.0

解决方案


推荐阅读