Exemplo n.º 1
0
        //BL
        //MAP

        //Init
        private void initConstructor(DBMAINContext poDB)
        {
            //DBContext
            this.db = poDB;
            //VM
            this.oVM = new UnitVM();
            //DS
            this.oDS = new UnitDS(this.db);
            //CRUD
            this.oCRUD = new UnitCRUD(this.db);

            //BL
            //MAP
        } //End initConstructor
Exemplo n.º 2
0
        //BL
        //MAP

        //Init
        private void initConstructor(DBMAINContext poDB)
        {
            //DBContext
            this.db = poDB;
            //VM
            this.oVM = new EmployeeVM();
            //DS
            this.oDS         = new EmployeeDS(this.db);
            this.oDSUnit     = new UnitDS(this.db);
            this.oDSJobtitle = new JobtitleDS(this.db);
            //CRUD
            this.oCRUD = new EmployeeCRUD(this.db);

            //BL
            //MAP
        } //End initConstructor