F
feng
Hi,
I know ADO.Net recommand using disconnected update
(optimistic concurrency) for good reasons, but it's just
not an option for us. 99% of our client would rather
seeing "record locked" kind of message up front when they
load records, than being told "updating failed" after they
spend all the time entering the data.
So here I am spending a lot of time trying to find a good
way to do the "read with lock" type of opration. I know
you can do some thing like that, at the query level, if
you are running some late version of SQL server, but what
if I can't use those DB specific features? Is there a
recommanded way of doing this at ADO.Net level"? What
about ADO.Net's transaction?
If someone can point me to a right direction that would be
highly appreciated!
Thanks
Feng
I know ADO.Net recommand using disconnected update
(optimistic concurrency) for good reasons, but it's just
not an option for us. 99% of our client would rather
seeing "record locked" kind of message up front when they
load records, than being told "updating failed" after they
spend all the time entering the data.
So here I am spending a lot of time trying to find a good
way to do the "read with lock" type of opration. I know
you can do some thing like that, at the query level, if
you are running some late version of SQL server, but what
if I can't use those DB specific features? Is there a
recommanded way of doing this at ADO.Net level"? What
about ADO.Net's transaction?
If someone can point me to a right direction that would be
highly appreciated!
Thanks
Feng