Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Concurrency with Timestamp
Message
 
To
27/06/2008 10:00:22
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
Database:
MS SQL Server
Miscellaneous
Thread ID:
01327229
Message ID:
01327259
Views:
12
Tim,

>Once again a newbie MM .NET question.
>
>Can anyone point me towards some sample code showing the use of timestamps for concurrency control?

Are you using stored procedures (generated by the Business Layer Generator) to update data or are you using dynamic SQL? The BLG does respect TimeStamp columns and generates CRUD stored procedures using the TimeStamps. FYI, there is an issue with concurrency we are currently investigating when using TimeStamps with stored procedures--in Windows Forms the error dialog appears, but it is apparently not allowing the user to overwrite the other user's changes (if you are allowing that option).

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform