//MAP //Init protected virtual void initConstructor(DBMAINContext poDB) { //DBContext this.db = poDB; //VM this.oViewModel = new Transaction_indetailVM(); //DATA this.oData = new Transaction_indetailVM(); this.oData_list = new List <Transaction_indetailVM>(); this.oDatastudent = new StudentVM(); this.oDatastudent.DETAIL = new StudentdetailVM(); //DS this.oDS = new Transaction_inDS(this.db); this.oDSDetail = new Transaction_indDS(this.db); this.oDS_inst = new Installment_inDS(this.db); this.oDSStudent = new StudentDS(this.db); this.oDSClasstype = new ClasstypeDS(this.db); this.oDSClassroom = new ClassroomDS(this.db); this.oDSYear = new YearDS(db); this.oDSMonth = new MonthsppDS(); //CRUD this.oCRUD = new Transaction_inCRUD(this.db); this.oCRUD_detail = new Transaction_indCRUD(this.db); this.oCRUD_inst = new Installment_inCRUD(this.db); //BL oBL = new Transaction_inBL(); //MAP //VIEWBAG ViewBag.Controllername = ""; ViewBag.Viewlocation = "~/Views/Transaction_in/"; ViewBag.Viewextention = ".cshtml"; } //End initConstructor