Using .NET 2.0 Transaction Model with DAAB

Topics: Data Access Application Block
Feb 14, 2007 at 2:17 PM
Is there a preferred way to use Transactionscope with the DAAB? Has anyone done so yet? Are any examples available?
Feb 14, 2007 at 3:29 PM
I wouldn't use it with Enterprise Library 2.0, because you will more than likely get a distributed transaction.

However, Enterprise Library 3.0 supports it. I wrote a sample tutorial here. It works as expected:

TransactionScope and Enterprise Library 3.0 Data Access Application Block - System.Transactions




David Hayden
Microsoft MVP C#
Feb 14, 2007 at 3:43 PM
Yes, I am using the most recent build of EntLib 3.0. I have gotten it to work. (it seems too easy :))

Thanks for the tutorial link.