Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ResolveConcurrency
Message
De
20/01/2005 14:12:57
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
ResolveConcurrency
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00978994
Message ID:
00978994
Vues:
49
I am trying to use stored procedures to update SQL data using a custom data access object. I am using a LastModifiedBy date field plus the primary key to update the data. I successfully receive the concurrency form when data has been changed on the backend by another user. However, even if I press yes to overwrite the current data in the database with the proposed change, the form continues to pop up. I've stepped through the code and it seems the ds.Merge(this.ConflictDataSet,true) line in the ResolveConcurrency method in the mmBusinessObject is not changing the values in my dataset on the business object, so it continues to have concurrency exceptions when it calls the save and the code loops forever. How can I fix this issue?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform