TransactionAttribute API Document
Indicates the transaction support for a method.
Constructors
TransactionAttribute()
Declares unspecified values for transaction and isolation, which means that the transaction manager will use the default values for them
TransactionAttribute(TransactionMode transactionMode)
Declares the transaction mode, but omits the isolation, which means that the transaction manager should use the default value for it.
| Parameter | Description |
|---|---|
| transactionMode |
TransactionAttribute(TransactionMode transactionMode, IsolationMode isolationMode)
Declares both the transaction mode and isolation desired for this method. The transaction manager should obey the declaration.
| Parameter | Description |
|---|---|
| transactionMode | |
| isolationMode |
Properties
| Name | Type | Description |
|---|---|---|
| TransactionMode | TransactionMode | Returns the Castle.Services.Transaction.TransactionAttribute.TransactionMode |
| IsolationMode | IsolationMode | Returns the Castle.Services.Transaction.TransactionAttribute.IsolationMode |