Example #1
0
        //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
Example #2
0
        //BL
        //MAP


        //Init
        private void initConstructor(DBMAINContext poDB)
        {
            //DBContext
            this.db = poDB;
            //VM
            this.oVM = new TaskdVM();
            //DS
            this.oDS = new TaskdDS(this.db);
            //CRUD
            this.oCRUD = new TaskdCRUD(this.db);

            //BL
            //MAP
        } //End initConstructor