MySqlConnector


MySqlTransaction class

public sealed class MySqlTransaction : DbTransaction

Public Members

namedescription
Connection { get; }
override IsolationLevel { get; }
override Commit()
override CommitAsync(…)
override DisposeAsync()
Release(…)Removes the named transaction savepoint with the specified savepointName. No commit or rollback occurs.
ReleaseAsync(…)Asynchronously removes the named transaction savepoint with the specified savepointName. No commit or rollback occurs.
override Rollback()
Rollback(…)Rolls back the current transaction to the savepoint with the specified savepointName without aborting the transaction.
override RollbackAsync(…)
RollbackAsync(…)Asynchronously olls back the current transaction to the savepoint with the specified savepointName without aborting the transaction.
Save(…)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.
SaveAsync(…)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.

Protected Members

namedescription
override DbConnection { get; }
override Dispose(…)

See Also