Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unexpected dynamic SQL commands
Message
From
20/02/2008 18:02:29
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
 
 
To
20/02/2008 12:57:48
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01294350
Message ID:
01294521
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform