public MultipleWithOneIncludedQuerySplitBuilder <T, TId, TChild, TGrandChild, TGrandChildId> ThenIncludeOne <TGrandChild, TGrandChildId>( Expression <Func <TChild, TGrandChild> > selectFunc, Expression <Func <TGrandChild, TGrandChildId> > idExpression) { var child = new MultipleWithOneIncludedQuerySplitBuilder <T, TId, TChild, TGrandChild, TGrandChildId>(this, selectFunc, idExpression); return(ThenInclude(child)); }
public MultipleWithOneIncludedQuerySplitBuilder <T, TId, TPrevious, TChild, TChildId> ThenIncludeOneForParent <TGrandChild, TGrandChildId>( Expression <Func <TChild, TGrandChild> > selectFunc, Expression <Func <TGrandChild, TGrandChildId> > idExpression) { var child = new MultipleWithOneIncludedQuerySplitBuilder <T, TId, TChild, TGrandChild, TGrandChildId>(this, selectFunc, idExpression); child.SkipParent = true; ThenInclude(child); return(this); }