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); }
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 CodeService(IDatabaseFactory dbfactory) { this.runtimeService = new UnitOfWork(dbfactory); this.ERP_C001_CodeRepository = new ERP_C001_CodeRepository(dbfactory); }