Example #1
0
 public MES_M501_JobTxService(IDatabaseFactory dbfactory)
 {
     this.runtimeService           = new UnitOfWork(dbfactory);
     this.MES_M501_JobTxRepository = new MES_M501_JobTxRepository(dbfactory);
     this.taskRepository           = new MES_M202_Task_DetailRepository(dbfactory);
     jobtxNgRepository             = new MES_M501_JobTx_NGRepository(dbfactory);
     jobtxDetailRepository         = new MES_M501_JobTxDetailRepository(dbfactory);
     jobtxProdInfoRepository       = new MES_M501_JobTxProdInfoRepository(dbfactory);
     taskJobLotRepository          = new MES_M202_Task_JobLotRepository(dbfactory);
 }
Example #2
0
 public MES_M501_JobTx_NGService(IDatabaseFactory dbfactory)
 {
     this.runtimeService = new UnitOfWork(dbfactory);
     this.MES_M501_JobTx_NGRepository = new MES_M501_JobTx_NGRepository(dbfactory);
 }