H
HG
Hi group.
Hope there are some gurus out there that can help me understand this topic.
I am about to design a rather large department solution in .NET, utilizing
ADO.NET, ASP.NET and XML WebServices.
How do ADO.NET handle optimistic concurrency? From what I have read it is
built in. But only if you use the CommandBuilder or construct your UPDATE
stament/prodcedure so, that every column is checked against, right?
I am having trouble finding out on what level the concurrency check is done.
This is the "architecture" I plan to use:
WebForm->DataBound component->DataSet->DataAdapter->DataSource
I understand that if I only use one table, the CommandBuilder can be used to
build select, update, delete and insert statements of the DataAdapter. On
update all colums are checking against in the WHERE clause, to check if some
of them have changed since the DataSet was filled by the DataAdapter. In
this scenario it seems like the concurrency is handled at the database
level.
When not using the CommandBuilder, do I have to provide a "similar mecanism"
myself, when writing the code for select, update, delete and insert
statements?
Sorry for the rather long post...But I hope someone has just a bit of the
answers to my quesions..
Thanx in advance
Best regards
Henrik
Hope there are some gurus out there that can help me understand this topic.
I am about to design a rather large department solution in .NET, utilizing
ADO.NET, ASP.NET and XML WebServices.
How do ADO.NET handle optimistic concurrency? From what I have read it is
built in. But only if you use the CommandBuilder or construct your UPDATE
stament/prodcedure so, that every column is checked against, right?
I am having trouble finding out on what level the concurrency check is done.
This is the "architecture" I plan to use:
WebForm->DataBound component->DataSet->DataAdapter->DataSource
I understand that if I only use one table, the CommandBuilder can be used to
build select, update, delete and insert statements of the DataAdapter. On
update all colums are checking against in the WHERE clause, to check if some
of them have changed since the DataSet was filled by the DataAdapter. In
this scenario it seems like the concurrency is handled at the database
level.
When not using the CommandBuilder, do I have to provide a "similar mecanism"
myself, when writing the code for select, update, delete and insert
statements?
Sorry for the rather long post...But I hope someone has just a bit of the
answers to my quesions..
Thanx in advance
Best regards
Henrik