示例#1
0
 public void Test_DeleteStudent()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var RemoveStudent = Reg.DeleteStudent(1);
     }
 }
 public void Run_DeleteStudent(int Id)
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var RemoveStudent = Reg.DeleteStudent(Id);
     }
 }