Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Only Children records with changes
Message
 
À
10/08/2007 18:54:49
Jeff Corder
Ambit Technologies, LLC
Missouri, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01247559
Message ID:
01247585
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform