LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlConnection.BeginTransaction method (1 of 3)

Begins a database transaction.

public MySqlTransaction BeginTransaction()

Return Value

A MySqlTransaction representing the new database transaction.

Remarks

Transactions may not be nested.

See Also


MySqlConnection.BeginTransaction method (2 of 3)

Begins a database transaction.

public MySqlTransaction BeginTransaction(IsolationLevel isolationLevel)
parameterdescription
isolationLevelThe IsolationLevel for the transaction.

Return Value

A MySqlTransaction representing the new database transaction.

Remarks

Transactions may not be nested.

See Also


MySqlConnection.BeginTransaction method (3 of 3)

Begins a database transaction.

public MySqlTransaction BeginTransaction(IsolationLevel isolationLevel, bool isReadOnly)
parameterdescription
isolationLevelThe IsolationLevel for the transaction.
isReadOnlyIf true, changes to tables used in the transaction are prohibited; otherwise, they are permitted.

Return Value

A MySqlTransaction representing the new database transaction.

Remarks

Transactions may not be nested.

See Also