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. More... | |
TransactionalAttribute (TransactionalTypes transactionType) | |
Marks a method to run within the specified type of transactional context. More... | |
TransactionalAttribute (TransactionalTypes transactionType, TransactionIsolationLevel transactionIsolationLevel, int timeoutInSeconds) | |
Marks a method to run within the specified type of transactional context. More... | |
TransactionalAttribute (TransactionalTypes transactionType, TransactionIsolationLevel transactionIsolationLevel) | |
Marks a method to run within the specified type of transactional context. More... | |
TransactionalAttribute (TransactionalTypes transactionType, TransactionIsolationLevel transactionIsolationLevel, TransactionScopeAsyncFlowOption asyncFlowOption) | |
Marks a method to run within the specified type of transactional context. More... | |
Properties | |
TransactionalTypes | TransactionType [get] |
Gets the type of transaction requested by the business object method. More... | |
TransactionIsolationLevel | TransactionIsolationLevel [get] |
Specifies override for transaction isolation level. More... | |
int | TimeoutInSeconds [get] |
Timeout for transaction, in seconds More... | |
TransactionScopeAsyncFlowOption | AsyncFlowOption [get] |
Gets the AsyncFlowOption for this transaction More... | |
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.
Definition at line 39 of file TransactionalAttribute.cs.
Csla.TransactionalAttribute.TransactionalAttribute | ( | ) |
Marks a method to run within a COM+ transactional context.
Definition at line 46 of file TransactionalAttribute.cs.
Csla.TransactionalAttribute.TransactionalAttribute | ( | TransactionalTypes | transactionType | ) |
Marks a method to run within the specified type of transactional context.
transactionType | Specifies the transactional context within which the method should run. |
Definition at line 58 of file TransactionalAttribute.cs.
Csla.TransactionalAttribute.TransactionalAttribute | ( | TransactionalTypes | transactionType, |
TransactionIsolationLevel | transactionIsolationLevel, | ||
int | timeoutInSeconds | ||
) |
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 |
Definition at line 88 of file TransactionalAttribute.cs.
Csla.TransactionalAttribute.TransactionalAttribute | ( | TransactionalTypes | transactionType, |
TransactionIsolationLevel | transactionIsolationLevel | ||
) |
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 |
Definition at line 110 of file TransactionalAttribute.cs.
Csla.TransactionalAttribute.TransactionalAttribute | ( | TransactionalTypes | transactionType, |
TransactionIsolationLevel | transactionIsolationLevel, | ||
TransactionScopeAsyncFlowOption | asyncFlowOption | ||
) |
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. |
Definition at line 143 of file TransactionalAttribute.cs.
|
get |
Gets the AsyncFlowOption for this transaction
Definition at line 186 of file TransactionalAttribute.cs.
|
get |
Timeout for transaction, in seconds
The timeout for transaction, in seconds
Definition at line 181 of file TransactionalAttribute.cs.
|
get |
Specifies override for transaction isolation level.
Default can be specified in .config file via CslaTransactionIsolationLevel setting If none specified, Serializable level is used
Definition at line 173 of file TransactionalAttribute.cs.
|
get |
Gets the type of transaction requested by the business object method.
Definition at line 166 of file TransactionalAttribute.cs.