阅读背景:

DbEntityEntry OriginalValues与TryUpdateModel RowVersion以避免并发更新(乐观)

来源:互联网 

I am working on an ASP.NET MVC project with EF in C# from a book and this part is to avoid updating an entity concurrently from different sessions. The book is great but unfortunately in this part the explanation is not sufficient and I would appreciate if someone could help me understand. I will try to omit irrelevant code. The model basically has only one property "Name" so it is really simple:I am working on an ASP.NET MVC project with EF




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: