B
BLUE
Is there any way to use transactions if I use DbProviderFactory class to
abstract from the provider?
If not, is there any way to manage concurrency in a "universal"/provider
indipendent mode?
I've seen that when a DataSet is used (optimistic lock), if the update
detect concurrency problems, it is possible to inform the user with a
MessageBox or on the ASP page or in any other GUI way.
I've 2 or more handheld devices that sync with a DB through a Web Service
and I don't want the handhelds to stop syncing because of a concurrency
problem: I'd like the WS to handle the problem for example cycing until it
succeeds updating the DB or something like that.
In such situations how can concurrency be managed?
What is the best practice?
Thanks a lot,
Luigi.
abstract from the provider?
If not, is there any way to manage concurrency in a "universal"/provider
indipendent mode?
I've seen that when a DataSet is used (optimistic lock), if the update
detect concurrency problems, it is possible to inform the user with a
MessageBox or on the ASP page or in any other GUI way.
I've 2 or more handheld devices that sync with a DB through a Web Service
and I don't want the handhelds to stop syncing because of a concurrency
problem: I'd like the WS to handle the problem for example cycing until it
succeeds updating the DB or something like that.
In such situations how can concurrency be managed?
What is the best practice?
Thanks a lot,
Luigi.