Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One to Many Save
Message
From
12/06/2006 11:35:32
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
One to Many Save
Miscellaneous
Thread ID:
01128455
Message ID:
01128455
Views:
78
All,

I want to be able to save an invoice by saving the header and all the line items at the same time. I can save the header and I can edit the line items.

Can I create a method that iterates through the line item datarows and execute the LineItem.Save method against each datarow? I think I need call this new method is the PreSaveHook and retun false from the method to prevent the default Save behavior, is this correct?

TIA

Rex
Next
Reply
Map
View

Click here to load this message in the networking platform