Example #1
0
 public static void deleteStudents(string group)
 {
     DB d1 = new DB();
     d1.Delete("DELETE FROM student WHERE studentgroup = '" + group + "'");
 }
Example #2
0
 public static void deleteSchool(int schoolId)
 {
     DB d1 = new DB();
     d1.Delete("DELETE FROM schools WHERE schoolId = " + schoolId + "");
 }
Example #3
0
 public static void deleteStudent(int studentId)
 {
     DB d1 = new DB();
     d1.Delete("DELETE FROM student WHERE studentId = " + studentId + "");
 }
Example #4
0
 public static void deleteOccupation(int occupationId)
 {
     DB d1 = new DB();
     d1.Delete("DELETE FROM occupation WHERE Id = " + occupationId + "");
 }