Esempio n. 1
0
 /// <summary>
 /// 更新
 /// </summary>
 /// <param name="log"></param>
 public void Edit(Entities.log log)
 {
     db.Entry(log).State = EntityState.Modified;
     db.SaveChanges();
 }
 /// <summary>
 /// 更新
 /// </summary>
 /// <param name="monitorserverfolder"></param>
 public void Edit(Entities.monitorServerFolder monitorserverfolder)
 {
     db.Entry(monitorserverfolder).State = EntityState.Modified;
     db.SaveChanges();
 }
Esempio n. 3
0
 /// <summary>
 /// 更新
 /// </summary>
 /// <param name="monitorserverfolder"></param>
 public void Edit(Entities.monitorFileListen monitorFileListen)
 {
     db.Entry(monitorFileListen).State = EntityState.Modified;
     db.SaveChanges();
 }