Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BusinessObjects and Transactions
Message
From
14/01/2008 14:44:19
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
BusinessObjects and Transactions
Miscellaneous
Thread ID:
01281684
Message ID:
01281684
Views:
50
Hi there,

I am trying to use Transaction's with MM.NET business objects, but apparently I think I am missing something.

1. I have two business objects Customer and CustomerAddress and have registered CustomerAddress as the child of Customer object and have the following properties on the Customer Business object
     Public Sub New()
        Me.TableName = "CUSTOMERS"
        Me.PrimaryKey = "CUSTNMBR"
        Me.DefaultCommandType = CommandType.StoredProcedure
        Me.DatabaseKey = "BACKOFFICE"
        Me.AutoUseTransactions = True
        Me.AutoSaveOnParentSaved = True
        Me.AutoCancelOnParentCancel = True
    end Sub
2. But when I save the business objects and have problems with CustomerAddress object the transaction that was added on Customer never roll backs.

Thanks
Yassin
Next
Reply
Map
View

Click here to load this message in the networking platform