MySqlTransaction implements the ADO.NET DbTransaction class, please refer to its documentation.

Additionally, MySqlTransaction provides the following public properties and methods that may be used:

Additional Instance Methods

public Task CommitAsync()

public Task CommitAsync(CancellationToken cancellationToken)

Async version of Commit

public Task RollbackAsync()

public Task RollbackAsync(CancellationToken cancellationToken)

Async version of Rollback