Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unexpected dynamic SQL commands
Message
De
20/02/2008 18:02:29
Jeff Corder
Ambit Technologies, LLC
Missouri, États-Unis
 
 
À
20/02/2008 12:57:48
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01294350
Message ID:
01294521
Vues:
25
If you look closer, you will probably see that only the columns that change are updated, but the WHOLE table is used to verify there have been no changes to the record since you retrieved it.

By the way, this can cause some wonderful problems if you have computed columns - create the row, save it, edit it and save it again - concurrency error because the computed column in the dataset was not updated, but the computed column in the database was.

You can use the ConcurrencySelectStatement or the dataset's UpdateCommand to change the fields used for concurrency testing. It's an ADO.net issue.

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

Click here to load this message in the networking platform