示例#1
0
 public void Update(AppUser user)
 {
     _context.Entry(user).State = EntityState.Modified;//this lets entityframework update and add a flag that this has been modified
 }
示例#2
0
 public void Update(AppUser user)
 {
     _context.Entry(user).State = EntityState.Modified;
 }