I\'m trying to accomplish something really simple and I can\'t find how to do it using Entity Framework 4.1.
I want a controller method that accepts an object and
actually there is a way to informa db context that entity you are trying to insert is changed and now the new one
_context.MyEntity.Attach(entity); _context.MyEntity(entity).State = System.Data.EntityState.Modified;