Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's up with Concurrency and MM .NET (GetConflictData?
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01317518
Message ID:
01325186
Views:
31
Jeff,

>I still have not gotten an answer regarding how the Concurrency works. I cannot get it to work as advertised in the Dev Guide. Can you help me understand this?
>
>I still have the problem where if I bring up my WinForms form with first name coming from Pubs.employee as 'John' and then behind the scenes in Query Analyzer I change that to 'Joe' in the table and then in my form change it to 'Jim' I don't get the concurrency error that the Dev Guide shows under the 'Handling Concurrency Error' section.
>
>Should the concurrency dialog come up?
>
>Can you show me how this is supposed to work?

Oops...I missed that! If you are using stored procedures to update data, you need to add a Timestamp column to the associated table so that ADO.NET raises a concurrency exception. The MM .NET Business Layer Generator automatically adds the Timestamp column to the WHERE clause of the UPDATE stored procedure.

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