Design Pattern Framework 3.5
TransactionDecorator Constructor (transactionToUse)
Patterns-In-Action! Application ► Transactions ► TransactionDecorator ► TransactionDecorator(Transaction)
Initializes a new instance of the TransactionScope class and sets the
specified transaction as the ambient transaction, so that transactional
work done inside the scope uses this transDoFactory.
Declaration Syntax
C# | Visual Basic |
public TransactionDecorator( Transaction transactionToUse )
Public Sub New ( _ transactionToUse As Transaction _ )
Parameters
- transactionToUse (Transaction)
- Represents a transaction.