MySqlTransaction Members

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image

The MySqlTransaction type exposes the following members.

Methods

  Name Description
Public method Commit
Commits the database transaction.
(Overrides DbTransaction..::..Commit()()()().)
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method Dispose()()()()
Protected method Dispose(Boolean)
Releases the unmanaged resources used by the DbTransaction and optionally releases the managed resources.
(Inherited from DbTransaction.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected method MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public method Rollback
Rolls back a transaction from a pending state.
(Overrides DbTransaction..::..Rollback()()()().)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property Connection
Gets the MySqlConnection object associated with the transaction, or a null reference (Nothing in Visual Basic) if the transaction is no longer valid.
Protected property DbConnection (Overrides DbTransaction..::..DbConnection.)
Public property IsolationLevel
Specifies the IsolationLevel for this transaction.
(Overrides DbTransaction..::..IsolationLevel.)

See Also