Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Concurrency check with Record Version
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Concurrency check with Record Version
Miscellaneous
Thread ID:
00816963
Message ID:
00816963
Views:
59
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
--------------------------------
Next
Reply
Map
View

Click here to load this message in the networking platform