C# Class Castle.Services.Transaction.TransactionScopeResourceAdapter

Inheritance: IResource
Mostra file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Commit ( ) : void

Implementors should commit the transaction on the underlying resource

Rollback ( ) : void

Implementors should rollback the transaction on the underlying resource

Start ( ) : void

Implementors should start the transaction on the underlying resource

TransactionScopeResourceAdapter ( TransactionMode mode, IsolationMode isolationMode ) : System.Transactions

Initializes a new instance of the TransactionScopeResourceAdapter class.

Method Details

Commit() public method

Implementors should commit the transaction on the underlying resource
public Commit ( ) : void
return void

Rollback() public method

Implementors should rollback the transaction on the underlying resource
public Rollback ( ) : void
return void

Start() public method

Implementors should start the transaction on the underlying resource
public Start ( ) : void
return void

TransactionScopeResourceAdapter() public method

Initializes a new instance of the TransactionScopeResourceAdapter class.
public TransactionScopeResourceAdapter ( TransactionMode mode, IsolationMode isolationMode ) : System.Transactions
mode TransactionMode The mode.
isolationMode IsolationMode The isolation mode.
return System.Transactions