public GradeSectionModel(BusinessEntity.Lookup.GradeSectionEntity gradeSection)
        {
            this.ID   = gradeSection.ID;
            this.Name = gradeSection.Name;

            this.Grade       = new GradeModel(gradeSection.Grade);
            this.RoomTeacher = new TeacherModel(gradeSection.RoomTeacher);

            this.CreatedBy   = gradeSection.CreatedBy;
            this.CreatedDate = gradeSection.CreatedDate;
            this.UpdatedBy   = gradeSection.UpdatedBy;
            this.UpdatedDate = gradeSection.UpdatedDate;
        }
        public T MapToEntity <T>() where T : class
        {
            BusinessEntity.Lookup.GradeSectionEntity gradeSection = new BusinessEntity.Lookup.GradeSectionEntity();
            gradeSection.ID   = this.ID;
            gradeSection.Name = this.Name;

            gradeSection.Grade       = this.Grade.MapToEntity <BusinessEntity.Lookup.GradeEntity>();
            gradeSection.RoomTeacher = this.RoomTeacher.MapToEntity <BusinessEntity.Admission.TeacherEntity>();

            gradeSection.CreatedBy   = this.CreatedBy;
            gradeSection.CreatedDate = this.CreatedDate;

            return(gradeSection as T);
        }