DataAccessAdapterCoreCommitAsync Method |
Async variant of Commit. Commits the transaction in action. It will end all database activity, since commiting a transaction is finalizing it. After
calling Commit or Rollback, the ITransaction implementing class will reset itself. Will close the connection.
If in a COM+ transaction: it will flag the context to commit. It will NOT set the done bit.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntaxpublic virtual Task CommitAsync(
CancellationToken cancellationToken
)
Public Overridable Function CommitAsync (
cancellationToken As CancellationToken
) As Task
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
Return Value
Type:
TaskImplements
ITransactionControllerCommitAsync(CancellationToken)
RemarksWill close the active connection unless KeepConnectionOpen has been set to true
See Also