求问error:未声明导航键?? 如何修改
“System.InvalidOperationException”类型的未经处理的异常在 EntityFramework.dll 中发生
其他信息: A specified Include path is not valid. The EntityType 'Work.Goods' does not declare a navigation property with the name 'Type'.
相关代码:
public class Goods
{
[Key]
public string ID { get; set; }
public string Type { get; set; }
public double Price { get; set; }
………………
}