Ejemplo n.º 1
0
 public MES_M201_PlanService(IDatabaseFactory dbfactory)
 {
     this.runtimeService          = new UnitOfWork(dbfactory);
     this.MES_M201_PlanRepository = new MES_M201_PlanRepository(dbfactory);
     this.planDetailRepository    = new MES_M201_Plan_DetailRepository(dbfactory);
     this.planMaterialRepository  = new MES_M201_Plan_MaterialRepository(dbfactory);
     planDailyRepository          = new MES_M201_Plan_DailyRepository(dbfactory);
 }
Ejemplo n.º 2
0
 public MES_M201_Plan_MaterialService(IDatabaseFactory dbfactory)
 {
     this.runtimeService = new UnitOfWork(dbfactory);
     this.MES_M201_Plan_MaterialRepository = new MES_M201_Plan_MaterialRepository(dbfactory);
 }