//Init private void initConstructor(DBMAINContext poDB) { //DBContext this.db = poDB; //VM this.oVM = new TaskVM(); //DS this.oDS = new TaskDS(this.db); this.oDSDetail = new TaskdDS(this.db); this.oDSDetail_worker = new Taskd_workerDS(this.db); this.oDSEmployee = new EmployeeDS(this.db); this.oDSEmployeeuser = new EmployeeuserDS(this.db); this.oDSMonth = new MonthDS(this.db); this.oDSYear = new YearDS(this.db); this.oDSProgresssts = new ProgressstsDS(this.db); this.oDSValidatests = new ValidatestsDS(this.db); this.oDSProject = new ProjectDS(this.db); //CRUD this.oCRUD = new Task_workerCRUD(this.db); //BL //MAP //JSON JsSerialize = new JavaScriptSerializer(); } //End initConstructor
//BL //MAP //Init private void initConstructor(DBMAINContext poDB) { //DBContext this.db = poDB; //VM this.oVM = new EmployeeuserVM(); //DS this.oDS = new EmployeeuserDS(this.db); this.oDSUnit = new UnitDS(this.db); this.oDSJobtitle = new JobtitleDS(this.db); this.oDSRole = new RoleDS(this.db); //CRUD this.oCRUD = new EmployeeuserCRUD(this.db); //BL //MAP } //End initConstructor