sqlsamurai
Programmer
I have begun to investigate concurrency in VB .NET. I studied these two links below... and while they have good information there were a couple things they didnt address.
Walkthrough: Handling a Concurrency Exception
Visual Studio .NET Developer: Coding for Concurrency in ADO.NET
1. Lets say you have made more than one change in more than one record. A concurrency exception will only be raised on the first one it finds. If you decide to apply the change in question then all other updates will be applied also. If you decide not to apply the change in question then all other changes will be discarded also. I'm not sure how to deal with each concurrency exception separately, or if there is a way.
2. Plus like I mentioned in number 1, there is no way to iterate through all the concurrency errors. the concurrency exception itself holds only one, the first one.
I was wondering how you guys handle concurrency in vb .net? I also think it would be neat if somebody wrote a robust data layer that handles concurrency, that they were willing to sell. Similar to the DAAB (Data Access Application Block). But i dont think the DAAB works in a data-binding environment.
Walkthrough: Handling a Concurrency Exception
Visual Studio .NET Developer: Coding for Concurrency in ADO.NET
1. Lets say you have made more than one change in more than one record. A concurrency exception will only be raised on the first one it finds. If you decide to apply the change in question then all other updates will be applied also. If you decide not to apply the change in question then all other changes will be discarded also. I'm not sure how to deal with each concurrency exception separately, or if there is a way.
2. Plus like I mentioned in number 1, there is no way to iterate through all the concurrency errors. the concurrency exception itself holds only one, the first one.
I was wondering how you guys handle concurrency in vb .net? I also think it would be neat if somebody wrote a robust data layer that handles concurrency, that they were willing to sell. Similar to the DAAB (Data Access Application Block). But i dont think the DAAB works in a data-binding environment.