Example #1
0
 public IEntityListWrapper <T> Include(params Expression <Func <T, object> >[] includeChildNodes)
 {
     _childNodesInfo = NHUnitHelper.GetExpressionTreeInfo <T>(includeChildNodes, _childNodesInfo ?? new EntityNodeInfo(), true);
     return(this);
 }
Example #2
0
 public ISingleEntityWrapper <T> Include(params Expression <Func <T, object> >[] includeChildNodes)
 {
     CheckDeferred();
     _childNodesInfo = NHUnitHelper.GetExpressionTreeInfo <T>(includeChildNodes, _childNodesInfo ?? new EntityNodeInfo(), true);
     return(this);
 }