Ejemplo n.º 1
0
 public ESOP_PublishService(IDatabaseFactory dbfactory)
 {
     this.runtimeService     = new UnitOfWork(dbfactory);
     this.publishRepository  = new ESOP_PublishRepository(dbfactory);
     this.deviceRepository   = new ESOP_DeviceRepository(dbfactory);
     this.docIndexRepository = new ESOP_DocIndexRepository(dbfactory);
     docRepository           = new ESOP_DocRepository(dbfactory);
 }
Ejemplo n.º 2
0
 public ESOP_DeviceService(IDatabaseFactory dbfactory)
 {
     this.runtimeService        = new UnitOfWork(dbfactory);
     this.ESOP_DeviceRepository = new ESOP_DeviceRepository(dbfactory);
     roleDeviceRepository       = new ESOP_RoleDeviceRepository(dbfactory);
 }