开发者

EF 4.1 Code First Silverlight 4 RIA public virtual ICollection<T> problem

I've got 2 EF 4.1 Code First classes:

public class SKUMaster {
  public string SKU { get; set; }
  public virtual ICollection<SKUMasterFinishedItem> SKUMasterFinishedItems { get; se开发者_如何学运维t; }
}

public class SKUMasterFinishedItem {
  public string SKU { get; set; }
  public int FinishedItemID { get; set; }
  public int Quantity { get; set; }
  public virtual FinishedItem FinishedItem { get; set; }
  public virtual SKUMaster SKUMaster { get; set; }
}

The navigation properties from SKUMasterFinishedItem are showing up on the Silverlight 4 RIA side, but SKUMaster.SKUMasterFinishedItems does not. Any ideas?


See this best post Entity Framework Code-First With RIA Services

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜