Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Concurrency with Timestamp
Message
De
27/06/2008 12:21:40
 
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:
01327292
Vues:
15
Hi Kevin,

Thanks for the quick reply.

I did not have a timestamp column in the table when I first generated the business objects and I did not try to regenerate yet with the BLG. I will regenerate and have a look at the code.

On the topic of generating SP on views from the BLG, I am finding that a bit quirky. When I initially let the BLG generate the SP on a view instead of a table, I would expect the SELECT statments to work against the view, but the INSERT, UPDATE & DELETE statements to work against the primary table. I can understand that it may be hard for the BLG to determine the 'right' way to create the CRUD SPs against a view.

Not a big issue, but I do find I have to run the BLG twice. First time through I let the BLG generate the CRUD SPs. Then I modify the generated SPs and then run the BLG again and select the existing SP for the data access classes.

Tim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform