更新时间:2023-08-27 12:07:58
我也有同样的问题。我删除了 InverseProperty 属性,问题解决了。希望有帮助。
InverseProperty
I had the same problem. I removed InverseProperty attributes and the problem solved. Hope it helps.
升级到EF6后 - 该属性不能配置为导航属性
升级到EF6后 - 属性不能被配置为导航属性
升级到 EF6 后 - 该属性无法配置为导航属性