#ifndef GRADE_DAO_H #define GRADE_DAO_H #import "c:\\Program Files\\Common Files\\System\\ado\\msado15.dll" no_namespace rename("EOF", "EndOfFile") #include #include #include"Grade.cpp" void addGrade(_ConnectionPtr connection, Grade grade); void deleteOnesGrade(_ConnectionPtr connection, string stuId,string courseId); void deleteGradeByStuId(_ConnectionPtr connection, string stuId); void deleteGradeByCourseId(_ConnectionPtr connection, string courseId); void updateOnesGrade(_ConnectionPtr connection, string stuId, string courseId, string grade); Grade& getOnesGrade(_ConnectionPtr connection, string stuId, string courseId); std::vector& getGradeByStuId(_ConnectionPtr connection, string stuId); std::vector& getGradeByCourseId(_ConnectionPtr connection, string courseId); #endif // !GRADE_DAO_H