예제 #1
0
 public void updateUserLevel(UserLevel ul)
 {
     using (var db = new MedTrainDBContext())
     {
         db.Entry(ul).State = System.Data.Entity.EntityState.Modified;
         db.SaveChanges();
     }
 }
예제 #2
0
 public void updateGroupMember(GroupMember gm)
 {
     using (var db = new MedTrainDBContext())
     {
         db.Entry(gm).State = System.Data.Entity.EntityState.Modified;
         db.SaveChanges();
     }
 }
예제 #3
0
 public void updateQuestion(Question q)
 {
     using (var db = new MedTrainDBContext())
     {
         db.Entry(q).State = System.Data.Entity.EntityState.Modified;
         db.SaveChanges();
     }
 }