开发者

"Row Not Found or Changed" Error Pops Up Randomly

开发者 https://www.devze.com 2023-01-04 10:18 出处:网络
When I run DB.SubmitChanges(); I occasionally get an error that reads: \"Row not found or changed\". The reason why this error bugs me so much is because there will always a row that should be found

When I run

DB.SubmitChanges();

I occasionally get an error that reads: "Row not found or changed". The reason why this error bugs me so much is because there will always a row that should be found for this query, and changes ar开发者_JAVA百科e only made if there are new changes to make.

I can't seem to figure out why this error pops up Are there some common reasons why this error shows up that I can try to find in my code?


There could be 2 reasons:

  • the Row was deleted
  • the row was changed by another client

Both are due to concurrency, the first thing to check is if this could indeed be a multi-user issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消