예제 #1
0
 //Update
 public void Update(OntimeDelay ontimeDelay)
 {
     db.Entry(ontimeDelay).State = EntityState.Modified;
     Save();
 }
예제 #2
0
 //Insert
 public void Insert(OntimeDelay ontimeDelay)
 {
     db.OntimeDelays.Add(ontimeDelay);
     Save();
 }