示例#1
0
 public void UpdateUser(Models.UserInfo user)
 {
     userEntities.Entry(user).State = System.Data.Entity.EntityState.Modified;
     userEntities.SaveChanges();
 }
示例#2
0
 public void UpdateDistrict(Models.District dc)
 {
     userEntities.Entry(dc).State = System.Data.Entity.EntityState.Modified;
     userEntities.SaveChanges();
 }
示例#3
0
 public void UpdateDivition(Models.Divition dv)
 {
     userEntities.Entry(dv).State = System.Data.Entity.EntityState.Modified;
     userEntities.SaveChanges();
 }