Esempio n. 1
0
 public ProductRepo(IPreactor preactor)
 {
     logger = LogManager.GetCurrentClassLogger();
     logger.Trace("Создан экземпляр сервиса ProductRepo");
     this._preactor = preactor;
     resGrpRepo     = new ResourceGroupRepo(_preactor);
     resRepo        = new ResourceRepo(_preactor);
 }
Esempio n. 2
0
 public OrderRepoSql(IPreactor preactor)
 {
     _conString = preactor.ParseShellString("{DB CONNECT STRING}");
     logger     = LogManager.GetCurrentClassLogger();
     logger.Trace("Создан экземпляр сервиса OrderRepoSql");
     this._preactor = preactor;
     resGrpRepo     = new ResourceGroupRepo(_preactor);
     resRepo        = new ResourceRepo(_preactor);
 }