![]() |
CSLA .NET 10.0.0
A home for your business logic
|
Marks a DataPortal_XYZ method to run within the specified transactional context. More...
Public Member Functions | |
| TransactionalAttribute () | |
| Marks a method to run within a COM+ transactional context. | |
| TransactionalAttribute (TransactionalTypes transactionType) | |
| Marks a method to run within the specified type of transactional context. | |
| TransactionalAttribute (TransactionalTypes transactionType, TransactionIsolationLevel transactionIsolationLevel) | |
| Marks a method to run within the specified type of transactional context. | |
| TransactionalAttribute (TransactionalTypes transactionType, TransactionIsolationLevel transactionIsolationLevel, TransactionScopeAsyncFlowOption asyncFlowOption) | |
| Marks a method to run within the specified type of transactional context. | |
| TransactionalAttribute (TransactionalTypes transactionType, TransactionIsolationLevel transactionIsolationLevel, int timeoutInSeconds) | |
| Marks a method to run within the specified type of transactional context. | |
| TransactionalAttribute (TransactionalTypes transactionType, TransactionIsolationLevel transactionIsolationLevel, int timeoutInSeconds, TransactionScopeAsyncFlowOption asyncFlowOption) | |
| Marks a method to run within the specified type of transactional context. | |
Properties | |
| TransactionalTypes | TransactionType [get] |
| Gets the type of transaction requested by the business object method. | |
| TransactionIsolationLevel | TransactionIsolationLevel [get] |
| Specifies override for transaction isolation level. Default can be specified in .config file via CslaTransactionIsolationLevel setting If none specified, Serializable level is used. | |
| int | TimeoutInSeconds [get] |
| Timeout for transaction, in seconds. | |
| TransactionScopeAsyncFlowOption | AsyncFlowOption [get] |
| Gets the AsyncFlowOption for this transaction. | |
Marks a DataPortal_XYZ method to run within the specified transactional context.
Each business object method may be marked with this attribute to indicate which type of transactional technology should be used by the server-side DataPortal. The possible options are listed in the TransactionalTypes enum.
If the Transactional attribute is not applied to a DataPortal_XYZ method then the Manual option is assumed.
If the Transactional attribute is applied with no explicit choice for transactionType then the TransactionScope option is assumed.
Both the EnterpriseServices and TransactionScope options provide 2-phase distributed transactional support.
|
inline |
Marks a method to run within a COM+ transactional context.
|
inline |
Marks a method to run within the specified type of transactional context.
| transactionType | Specifies the transactional context within which the method should run. |
|
inline |
Marks a method to run within the specified type of transactional context.
| transactionType | Specifies the transactional context within which the method should run. |
| transactionIsolationLevel | Specifies override for transaction isolation level. Default can be specified in .config file via CslaTransactionIsolationLevel setting If none specified, Serializable level is used |
|
inline |
Marks a method to run within the specified type of transactional context.
| transactionType | Specifies the transactional context within which the method should run. |
| transactionIsolationLevel | Specifies override for transaction isolation level. Default can be specified in .config file via CslaTransactionIsolationLevel setting If none specified, Serializable level is used |
| asyncFlowOption | Specifies the async flow option used to initialize the transaction. |
|
inline |
Marks a method to run within the specified type of transactional context.
| transactionType | Specifies the transactional context within which the method should run. |
| transactionIsolationLevel | Specifies override for transaction isolation level. Default can be specified in .config file via CslaTransactionIsolationLevel setting If none specified, Serializable level is used |
| timeoutInSeconds | Timeout for transaction, in seconds |
|
inline |
Marks a method to run within the specified type of transactional context.
| transactionType | Specifies the transactional context within which the method should run. |
| transactionIsolationLevel | Specifies override for transaction isolation level. Default can be specified in .config file via CslaTransactionIsolationLevel setting If none specified, Serializable level is used |
| timeoutInSeconds | Timeout for transaction, in seconds |
| asyncFlowOption | Specifies the async flow option used to initialize the transaction. |
|
get |
Gets the AsyncFlowOption for this transaction.
|
get |
Timeout for transaction, in seconds.
The timeout for transaction, in seconds
|
get |
Specifies override for transaction isolation level. Default can be specified in .config file via CslaTransactionIsolationLevel setting If none specified, Serializable level is used.
|
get |
Gets the type of transaction requested by the business object method.