Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child BO update stored procedure not in parents transact
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01187355
Message ID:
01187969
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform