Asynchronously sets a named transaction savepoint with the specified savepointName. If the current transaction already has a savepoint with the same name, the old savepoint is deleted and a new one is set.
public override Task SaveAsync(string savepointName, CancellationToken cancellationToken = default)
|savepointName||The savepoint name.|
|cancellationToken||A token to cancel the asynchronous operation.|
A Task representing the asynchronous operation.
The proposed ADO.NET API that this is based on is not finalized; this API may change in the future.
- class MySqlTransaction
- namespace MySqlConnector
- assembly MySqlConnector