IAdoDbTransactionManager.BeginTransactionAsync(CancellationToken cancellationToken) Method
.NET Standard 2.x
Asynchronously starts a database transaction without specifying the isolation level (IsolationLevel.Unspecified
).
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Syntax
Task<IAdoDbTransaction> BeginTransactionAsync(CancellationToken cancellationToken);
Parameters
cancellationToken
CancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Task<IAdoDbTransaction>
Returns a task that represents the asynchronous operation.
Applies to
.NET Standard
2.x