示例#1
0
 public bool UpdateExtendedWarranty(ExtendedWarranty _ExtendedWarranty)
 {
     using (SonnenDBEntities db = new SonnenDBEntities())
     {
         db.Entry(_ExtendedWarranty).State = System.Data.Entity.EntityState.Modified;
         db.SaveChanges();
     }
     return(true);
 }
示例#2
0
 public bool UpdateInstaller(Installer _Installer)
 {
     using (SonnenDBEntities db = new SonnenDBEntities())
     {
         db.Entry(_Installer).State = System.Data.Entity.EntityState.Modified;
         db.SaveChanges();
     }
     return(true);
 }