EF loads multiple child child collections

I can't seem to find how to load multiple child child collections into EF. Therefore, I can do:

blawConext.Blaws .Include(b => b.ChildCollection .Select(cc => cc.ChildChildCollection) ) 

I can even go deeper and deeper, no problem, but I can’t get umm peer? collection below does not work

 blawConext.Blaws .Include(b => b.ChildCollection .Select(cc => cc.ChildChildCollection1) .Select(cc => cc.ChildChildCollection2) ) 
+4
source share
1 answer

You can specify several inclusions:

 blawConext.Blaws .Include(b => b.ChildCollection.Select(cc => cc.ChildChildCollection1)) .Include(b => b.ChildCollection.Select(cc => cc.ChildChildCollection2)) 
+4
source

All Articles