Exemple #1
0
 public void Update(tblChqCancellation op)
 {
     _db.Entry(op).State = EntityState.Modified;
     _db.Configuration.ValidateOnSaveEnabled = false;
     Save();
     _db.Configuration.ValidateOnSaveEnabled = true;
 }
Exemple #2
0
 public void Update(AspNetUser users)
 {
     _db.Entry(users).State = EntityState.Modified;
     _db.Configuration.ValidateOnSaveEnabled = false;
     Save();
     _db.Configuration.ValidateOnSaveEnabled = true;
 }