Click or drag to resize

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.9.0.0 (5.9.0)
Syntax
public virtual Task CommitAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken

Return Value

Type: Task

Implements

ITransactionControllerCommitAsync(CancellationToken)
Remarks
Will close the active connection unless KeepConnectionOpen has been set to true
See Also