Exemple #1
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);
 }
 public ProductProcessFlowService(IDatabaseFactory dbfactory)
 {
     this.runtimeService = new UnitOfWork(dbfactory);
     this.ERP_M001_Product_ProcessFlowRepository = new ERP_M001_Product_ProcessFlowRepository(dbfactory);
 }