MySqlConnector


MySqlTransaction.SaveAsync method

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 Task SaveAsync(string savepointName, 
    CancellationToken cancellationToken = default(CancellationToken))
parameterdescription
savepointNameThe savepoint name.
cancellationTokenA token to cancel the asynchronous operation.

Return Value

A Task representing the asynchronous operation.

See Also