Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

Insert or Update 2 different objects within a single transaction

$
0
0

Hi,

I have 2 business objects say ObjectA and ObjectB.

ObjectA has a set of child objects. So i have transaction attribute applied to the DataPortal_Create and DataPortal_Update of ObjectA

Similarly ObjectB has a set of child objects. So I have transaction attribute applied to the DataPortal_Create and DataPortal_Update of ObjectB.

Now here comes my requirement where i need to insert a record in ObjectA (and its child tables) and ObjectB (and its child tables) and this should happen within a single transaction.

How could i achieve this using CSLA framework?

Please guide me. I am new to CSLA framework.

Thanks

Simi


Viewing all articles
Browse latest Browse all 764

Trending Articles