Exemple #1
0
 public JobReportService(IDatabaseFactory dbfactory)
 {
     this.runtimeService          = new UnitOfWork(dbfactory);
     this.vw_JobReportRepository  = new vw_JobReportRepository(dbfactory);
     this.jobLotProcessRepository = new MES_M002_Job_Lot_ProcessRepository(dbfactory);
     this.codeRepository          = new ERP_C001_CodeRepository(dbfactory);
 }
Exemple #2
0
 public ProductService(IDatabaseFactory dbfactory)
 {
     this.runtimeService             = new UnitOfWork(dbfactory);
     this.ERP_M001_ProductRepository = new ERP_M001_ProductRepository(dbfactory);
     this.custPackRepository         = new ERP_M001_Product_CustPackRepository(dbfactory);
     this.fileRepository             = new ERP_M001_Product_FileRepository(dbfactory);
     this.materialRepository         = new ERP_M001_Product_MaterialRepository(dbfactory);
     this.processFlowRepository      = new ERP_M001_Product_ProcessFlowRepository(dbfactory);
     this.prodInfoReopsitory         = new ERP_M001_Product_ProdInfoRepository(dbfactory);
     this.codeRepository             = new ERP_C001_CodeRepository(dbfactory);
     this.packInfoRepository         = new ERP_M001_Product_PackInfoRepository(dbfactory);
     this.semiProductRepository      = new ERP_M001_Product_SemiProductRepository(dbfactory);
 }
Exemple #3
0
 public CodeService(IDatabaseFactory dbfactory)
 {
     this.runtimeService          = new UnitOfWork(dbfactory);
     this.ERP_C001_CodeRepository = new ERP_C001_CodeRepository(dbfactory);
 }