Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Only Children records with changes
Message
 
To
10/08/2007 18:54:49
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01247559
Message ID:
01247585
Views:
22
Jeff,

>I ran across an interesting problem. I have set up several child business objects to keep everything together in one transaction in case of a failure. There are some instances where the parent table has no records added, but the children have records. The parent .IsChanged() is true, but when I attempt to save, I get a SaveCancelled response. In SaveDataSet() it checks the parent table to see if there are any rows in the table. Since I have none, it assumes there are no changes to be made and cancells my changes.
>
>Can I find obscure problems or what?

<g> Just curious about the scenario...under what circumstances is there no data in the parent business object?

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