Exemple #1
0
 public IEnumerable <IDataObject> GetList(IZetboxContext ctx, InterfaceType ifType, int maxListCount, bool eagerLoadLists, IEnumerable <Expression> filter, IEnumerable <OrderBy> orderBy, out List <IStreamable> auxObjects)
 {
     using (Logging.Facade.InfoTraceMethodCallFormat("GetList", "Type=[{0}]", ifType.ToString()))
     {
         try
         {
             return(_implementor.GetList(ctx, ifType, maxListCount, eagerLoadLists, filter, orderBy, out auxObjects));
         }
         catch (Exception ex)
         {
             Logging.Facade.Error("GetList", ex);
             throw;
         }
     }
 }
Exemple #2
0
 private List <IDataObject> CallService(out List <IStreamable> auxObjects)
 {
     return(_proxy.GetList(_context, _type, _maxListCount, _eagerLoadLists ?? _maxListCount == 1, _filter, _orderBy, out auxObjects).ToList());
 }