Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Concurrency check with Record Version
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Concurrency check with Record Version
Divers
Thread ID:
00816963
Message ID:
00816963
Vues:
60
On my previous project, I used a record version field in the table to check for concurrency. iRecVersion is an integer field and defaulted to 1. When I update a record, increment iRecVersion and check if it's the same:
UPDATE Customers SET Name = @sName, iRecVerion = iRecVersion + 1
WHERE iRecVersion = @iRecVer
Is this a recommended method in MM.NET? What is the best way to implement this in MM.NET?
Stephen Lee

--------------------------------
Too much to code
Too little time
--------------------------------
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform