Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating new update function
Message
From
08/05/2007 00:20:27
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01222682
Message ID:
01223282
Views:
17
>Larry,
>
>>I have a form that should update the sql tables (using stored procedures) passing only a few fields of a table. I can create the update function in the business object, and call that (passing only the required fields) rather then the save command, but I'm assuming that defeats the design goals and it wouldn't call the error checking routines first.
>
>>Could you tell me what the proper approach would be?
>
>In the Business Layer Generator, you can select just a few of the properties of the associated database table and generate insert, update, and delete stored procedures from these.
>
>Best Regards,

Hi Kevin,
Right, which is what I've done in the meantime, however that means I now have two different objects instead of one with multiple save/update methods. The stored procedures aren't the concern, it's how do I create multiple save methods (different number of parameters) in one generated object.
-Larry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform