Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating foreign keys
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00810787
Message ID:
00811159
Views:
17
Yes, I did set the AutoSaveOnParentSaved property to true. I'm wondering if I have set something up incorrectly.

Would it be possible to get a sample web form with an example of two biz objects in a parent/child relationship? I think I'm missing something when it comes to inserting a row into the "child" dataset, and having the "parent" dataset primary key automtically get copied.

I wonder if one of the issues I'm having has to do with how the biz object gets it's current dataset. For example, let's say I have called "NewRow()" to add a row to a biz object's dataset, then store the dataset back in the Session... if I then click a Save button that calls "SaveDataSet()", don't I have to get my dataset back out of Session and set it back into the business object beforehand? I think re-retrieving the dataset would cause me to lose the row I just added, and the "SetCurrentDataSet" method is not overrideable.

Sorry, just a little confused. I guess I need some "best practice" guidance.
Brian Burlingame
Software Engineer/Consultant
Olympic Consulting Group
brian.burlingame@ocgworld.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform