我有一个拥有父母的实体。该父对象具有引用属性。我如何加载参考 父实体的属性以原始实体为起点?
类似
Context.Filings.Include(x => x.Parent.Include(y = >y.Petitioner)); //obviously second include doesn't even compile
答案 0 :(得分:0)
Context.Filings.Include(x => x.Parent.Petitioner);
由@IvanStoev提供