One way to handle concurrency at the client side is "optimistic concurrency
control". Optimistic concurrency control is the technique used in data
adapters. I don't see why you cannot or you don't want to handle concurrency
in the same way.
Optimistic concurrency control detects concurrency conflicts. A concurrency
conflict occurs when updating or deleting a row if that row was modified by
another user since it was read.
To detect concurrency conflicts you include field original values (the
values you read) in the where clause of update and delete commands. Here you
have several options:
(1) Include original values of all fields. (Applies to update and delete)
(2) Include original values of changed fields and original value of the
primary key. (Applies only to update)
(4) Include original values of a row version colum and the primary key.
(Applies to update and delete)
(5) Include just the primary key. (no "mofidied by another user concurrency
conflicts" are detected )
If the delete or update command affect no rows, there is a concurrency
conflict: the row was deleted or modified by another user since you read it.
Regards
Jesús López
"Bhavtosh" <(E-Mail Removed)> escribió en el mensaje de
noticias news

857F687-0208-4160-B6C1-(E-Mail Removed)...
> hello,
>
> are there ways to handle concurrency without using data adapter? i could
> use
> custom data classes that updates data both as a single record or in bulk
> but
> how to handle concurrency issues is a point here.
>
> my intention is not use dataset at all and use my custom data classes to
> carry data across from UI to DB
>
> pls share your ideas as to suggest
>
> --
> Bhavtosh