Beispiel #1
0
 public IEnumerable <Customer> AllInclude(
     params Expression <Func <Customer, object> >[] includeProperties)
 {
     using (var context = _contextCreator())
     {
         _repository = new ConnectedRepository <Customer>(context);
         return(_repository.AllInclude(includeProperties));
     }
 }