Esempio n. 1
0
        } //End private Reportin_tunggakanVM mapOTHER(StudentdetailVM poSTUDENT, TrintypedetailVM poTRINTYPES, Installment_indetailVM poINST)

        //METHOD-SET
        public void setSTUDENTS_TUNGGAKAN()
        {
            StudentDS oDS     = new StudentDS();
            StudentVM oFilter = new StudentVM();

            //Init Filter
            if (this.CLASSTYPE_ID != null)
            {
                oFilter.FILTER_CLASSTYPE_ID = (Byte?)this.CLASSTYPE_ID;
            }
            if (this.CLASSLEVEL_ID != null)
            {
                oFilter.FILTER_CLASSLEVEL_ID = (Byte?)this.CLASSLEVEL_ID;
            }
            if (this.NIS != null)
            {
                oFilter.FILTER_NIS = this.NIS;
            }

            //Set Students
            this.STUDENTS = oDS.getDatalist(oFilter);
            if ((this.NIS != null) && (this.STUDENTS != null) && (this.STUDENTS.Count > 0))
            {
                this.STUDENT_ID = this.STUDENTS.FirstOrDefault().ID;
            }
        } //End public void setSTUDENTS_TUNGGAKAN()