示例#1
0
文件: DB.cs 项目: keithsullivan3/CIS
 public static void deleteStudents(string group)
 {
     DB d1 = new DB();
     d1.Delete("DELETE FROM student WHERE studentgroup = '" + group + "'");
 }
示例#2
0
文件: DB.cs 项目: keithsullivan3/CIS
 public static void deleteSchool(int schoolId)
 {
     DB d1 = new DB();
     d1.Delete("DELETE FROM schools WHERE schoolId = " + schoolId + "");
 }
示例#3
0
文件: DB.cs 项目: keithsullivan3/CIS
 public static void deleteStudent(int studentId)
 {
     DB d1 = new DB();
     d1.Delete("DELETE FROM student WHERE studentId = " + studentId + "");
 }
示例#4
0
文件: DB.cs 项目: keithsullivan3/CIS
 public static void deleteOccupation(int occupationId)
 {
     DB d1 = new DB();
     d1.Delete("DELETE FROM occupation WHERE Id = " + occupationId + "");
 }