コード例 #1
0
 public void Update(APPOINTMENTS appointment)
 {
     objDB.Update(appointment);
 }
コード例 #2
0
 public void Update(APPOINTMENTS appointment)
 {
     Db.Entry(appointment).State = System.Data.Entity.EntityState.Modified;
     Db.SaveChanges();
 }
コード例 #3
0
 public void Insert(APPOINTMENTS appointment)
 {
     objDB.Insert(appointment);
 }
コード例 #4
0
 public void Insert(APPOINTMENTS appointment)
 {
     Db.APPOINTMENTS.Add(appointment);
     Db.SaveChanges();
 }