示例#1
0
        } //End public Task_workerCRUD()

        //Constructor 3
        public Task_workerCRUD(DBMAINContext poDB, TaskCRUD poCRUD, TaskdCRUD poCRUD_detail, TaskdDS poDSDetail,
                               SysinfoDS poDSSysinfo, EmployeeDS poDSEmployee)
        {
            this.db = poDB;
            //CRUD
            this.oCRUD        = poCRUD;
            this.oCRUD_detail = poCRUD_detail;
            //DS
            this.oDSDetail   = poDSDetail;
            this.oDSEmployee = poDSEmployee;
            this.oDSSysinfo  = poDSSysinfo;
        } //End public Task_workerCRUD()
示例#2
0
 //Instantiate
 private void Instantiate()
 {
     //CRUD
     this.oCRUD        = new TaskCRUD(this.db);
     this.oCRUD_detail = new TaskdCRUD(this.db);
     //DS
     this.oDSDetail   = new TaskdDS(this.db);
     this.oDSSysinfo  = new SysinfoDS(this.db);
     this.oDSEmployee = new EmployeeDS(this.db);
     this.oDSMonth    = new MonthDS(this.db);
     this.oDSYear     = new YearDS(this.db);
     //DATA
     this.oData = new TaskVM();
 } //End private void Instantiate()