The ConcurrencyCheck attribute is replaced with Timestamp attribute. Using Timestamp attribute, we will not need the Unchanged work-around anymore:
db.Entry(movie).Property("Version").OriginalValue = input.TheMovie.Version; // db.Entry(movie).State = System.Data.EntityState.Unchanged; // not needed anymore when using Timestamp attribute
No comments:
Post a Comment