TransactionScope (System.Transactions.TransactionScope)

Inherits: System.Object

Interfaces: IDisposable

Derived Types: 0

Assembly: System.Transactions.dll

Makes a code block transactional. This class cannot be inherited.

VB.NET C#

C#

public sealed class TransactionScope : System.IDisposable
{
}

Articles

Even simpler Database Unit Testing with TransactionScope

... Services to do database testing.  This is a pretty nice solution but if you are using .Net 2  then there is an even simpler way:  Using System.Transactions.TransactionScope.

NH-754] Implement support for .net 2.0 System.Transactions ...

Right now NH 1.2 does not appear capable of participating in .net 2 TransactionScope transactions. Not sure what the fix entails, but adding this support would be really really ...

15 Seconds : Transaction Processing in ADO.NET 2.0

using (System.Transactions. TransactionScope ts = new System.Transactions. TransactionScope ()) {        SqlConnection cn = new SqlConnection (CONNECTION_STRING

Using System.Transactions.TransactionScope to ensure no permenant DB ...

Using System.Transactions.TransactionScope to ensure no permenant DB changes from Unit Tests. Thread Starter: KevinBuchan Started: 11 Aug 2006 4:39 PM UTC Replies: 2

The EntitySpaces Community - System.Transactions.TransactionScope ...

If you use DataProviderEnterprise as the provider class are you required to use System.Transactions.TransactionScope when setting up a transaction block?

Florin Lazar - Transactions : Building Transacted Code Blocks with ...

Building Transacted Code Blocks with System.Transactions.TransactionScope. Transacted code blocks are a group of actions that occur as part of a transaction.

Florin Lazar - Transactions : Transactions made easy: System ...

Currently the .Net Framework (v1.0 and v1.1) support for transactions is offered by System.EnterpriseServices and by the System.Data.IDbTransaction, implemented by of your favorite ...

System.Transactions.TransactionScope and IDbTransaction - Paul Wilson ...

I've enjoyed reading about the new System.Transactions namespace and the easy to use TransactionScope object. But there was always something that I wasn't sure about, and from ...

System.Transactions Namespace ()

System.Transactions.TransactionScope.TransactionScope (System.Transactions.Transaction,System.TimeSpan,System.Transactions.EnterpriseServicesInteropOption)

TransactionScope Class (System.Transactions)

Makes a code block transactional. This class cannot be inherited. ... The System.Transactions infrastructure provides both an explicit programming model based on the Transaction ...

Custom .NET Training ASP.NET Training Silverlight Training LINQ Training IT Support