MySqlConnector


MySqlTransaction.Rollback method (1 of 2)

Rolls back the database transaction.

public override void Rollback()

See Also


MySqlTransaction.Rollback method (2 of 2)

Rolls back the current transaction to the savepoint with the specified savepointName without aborting the transaction.

public void Rollback(string savepointName)
parameterdescription
savepointNameThe savepoint name.

Remarks

The name must have been created with Save, but not released by calling Release.

The proposed ADO.NET API that this is based on is not finalized; this API may change in the future.

See Also