예제 #1
0
        public void adjustStudent(Student student)
        {
            StudentMapper mapper = new StudentMapper(_connectionString);

            mapper.AdjustStudentFromDB(student);
        }
예제 #2
0
        public void addStudent(Student student)
        {
            StudentMapper mapper = new StudentMapper(_connectionString);

            mapper.addStudentToDB(student);
        }
예제 #3
0
        public void removeStudent(int id)
        {
            StudentMapper mapper = new StudentMapper(_connectionString);

            mapper.removeStudentFromDB(id);
        }
예제 #4
0
        public List <Student> getStudent()
        {
            StudentMapper mapper = new StudentMapper(_connectionString);

            return(mapper.getStudentFromDB());
        }