<Transactional(TransactionalTypes.TransactionScope)> in all update/insert/delete function?

<Transactional(TransactionalTypes.TransactionScope)> in all update/insert/delete function?

Old forum URL: forums.lhotka.net/forums/t/4719.aspx


jasonlaw posted on Sunday, April 20, 2008

Hi, I am new to CSLA.Net. I a currently play around with CSLA 3.5.
I have a question, do I need to put the "<Transactional(TransactionalTypes.TransactionScope)>" on all the update/insert/delete function? Fyi, I would like to have full transactional function in all my BOs.
Thanks in advance.

Jason Law

sergeyb replied on Monday, April 21, 2008

You probably should.  However, you should investigate the implications of using, as your objects may delegate transactional support to MSDTC in some cases.  You might want to opt to use explicit DB transactions instead.  If you search the forums, you will find threads where Rocky explains the whole process.

 

Sergey Barskiy

Senior Consultant

office: 678.405.0687 | mobile: 404.388.1899

cid:_2_0648EA840648E85C001BBCB886257279
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: jasonlaw [mailto:cslanet@lhotka.net]
Sent: Monday, April 21, 2008 12:47 AM
To: Sergey Barskiy
Subject: [CSLA .NET] <Transactional(TransactionalTypes.TransactionScope)> in all update/insert/delete function?

 

Hi, I am new to CSLA.Net. I a currently play around with CSLA 3.5.
I have a question, do I need to put the "<Transactional(TransactionalTypes.TransactionScope)>" on all the update/insert/delete function? Fyi, I would like to full transactional function in all my BOs.
Thanks in advance.

Jason Law



Copyright (c) Marimer LLC