Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
1 Nov 2011Daniel Lo Nigro
As far as I know, the "UpdateModel" method is designed to do this. Something like this should work, but I haven't tested it:public ActionResult Edit(Entity entity){ var entityInDbSet = _context.Set.SingleOrDefault(x => x.Id == entity.Id); UpdateModel(entityInDbSet); ...
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.