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