MySQL Connector/Net
MySqlTransactionConnection Property |
Gets the MySqlConnection object associated with the transaction, or a null reference (Nothing in Visual Basic) if the transaction is no longer valid.
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9

public MySqlConnection Connection { get; }
Public ReadOnly Property Connection As MySqlConnection Get
public: property MySqlConnection^ Connection { MySqlConnection^ get (); }
member Connection : MySqlConnection with get
Property Value
Type: MySqlConnectionThe MySqlConnection object associated with this transaction.

A single application may have multiple database connections, each
with zero or more transactions. This property enables you to
determine the connection object associated with a particular
transaction created by BeginTransaction.
