阅读背景:

模型构建ASP.NET EntityFramework循环错误

来源:互联网 

I have these two entities:

我有这两个实体:

public class Contact : PrimaryKey
{
    public ICollection<Order> OrdersPlaced {get;set;}
}

public class Order : PrimaryKey
{
    public Contact OrderedBy {get;set;}
    public Guid OrderedById {get;set;}
}
public 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: