Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another beginner question on updating data with MM .NET
Message
 
To
27/06/2008 17:32:14
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01327386
Message ID:
01328015
Views:
13
Tim,

>I understand how to fix the procedure and I can modify or override the CreateUpdateCommand factory method. My question is what methods do I need to override so that I can pass the orginal row value for the @OldName parameter?

I agree with Bob that the best approach here is to redesign your database to not use primary keys that can be changed by the end user, but use a database-generated key such as an Identity column.
That said, if you don’t have control over the database, you need to change both the stored procedure and the associated data access class generated by the Business Layer Generator.

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