Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child BO update stored procedure not in parents transact
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01187355
Message ID:
01187969
Vues:
23
Brian,

>I have a Parent , child relationship setup between to BO's.
>oRemit (parent) and oCutoff(child of oRemt)
>I begin a transaction on oRemit and save a record. If that pass's all the rules
>I call a functin on the oCutoff that calls an Update stored procedure passing a few parameters via ExecSprocScalar() function of the BO.
>
>If the transaction is rolled back on the parent oRemit after the update sp on oCutoff the updat on oCutoff is still commited.

Are you manually starting the transaction? You should set AutoUseTransactions to true and a transaction is automatically started on 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
Répondre
Fil
Voir

Click here to load this message in the networking platform