Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Concurrency with Timestamp
Message
 
À
27/06/2008 10:00:22
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
Database:
MS SQL Server
Divers
Thread ID:
01327229
Message ID:
01327259
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform