Linq------错误: Unable to determine the principal end of an association between the types

[Table("bma_stores")]
public class Store
{
    //加上即可    
    [Required]
    public virtual Product Product { get; set; }
}
原文地址:https://www.cnblogs.com/tianhengblogs/p/6322829.html