Database concurrency issue in .NET application
Posted
by MC.
on Stack Overflow
See other posts from Stack Overflow
or by MC.
Published on 2010-05-18T20:52:51Z
Indexed on
2010/05/18
21:00 UTC
Read the original article
Hit count: 226
If userA deleted OrderA while userB is modifying OrderA, then userB saves OrderA then there is no order in the database to be updated. My problem is there is no error! The SqlDataAdapter.Update succeeds and returns a "1" indicating a record was modified when this is not true. Does anybody know how this is supposed to work, thanks.
© Stack Overflow or respective owner