现在,为了访问自联接对象的所有子类别,我正在进行这样的查询。
var productCategories = db.Categories.Inlcude("ChildCategories")
.Inlcude("ChildCategories.ChildCategories")
.Inlcude("ChildCategories.ChildCategories.ChildCategories")
.Inlcude("ChildCategories.ChildCategories.ChildCategories.ChildCategories")
.Inlcude("ChildCategories.ChildCategories.ChildCategories.ChildCategories.ChildCategories")
.Inlcude("ChildCategories.ChildCategories.ChildCategories.ChildCategories.ChildCategories.ChildCategories")
对于这种查询可以做些什么?