Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving from a Child Buisness Object
Message
From
17/06/2005 07:10:13
 
 
To
14/06/2005 10:08:38
Dave Redding
Tenaska Marketing Ventures
Omaha, Nebraska, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
MS SQL Server
Miscellaneous
Thread ID:
01023097
Message ID:
01024239
Views:
20
Hi,

You could try and override HookParentSave() on the child business object and see if it gets called when a save is done on the parent business object. If it does fire then you at least know that the child business object is registered properly with the parent.

Also, have you set the AutoSaveOnParentSaved property on the child business object? (from the MM .NET Developer's Guide) :

If the AutoSaveOnParentSaved property is set to true (the default is false), when a parent business object's SaveDataSet method is executed, it automatically calls the child business object's SaveDataSet method with no parameters.
If you want to call a different overload of SaveDataSet (or do something completely different), you can set the AutoSaveOnParentSaved property to false, and then place code in the child business object's HookParentSaved method to call it manually.

Hope this is of any help whatsoever

Andrew
Previous
Reply
Map
View

Click here to load this message in the networking platform