Npgsql API Documentation

NpgsqlTransaction Members

[This is preliminary documentation and subject to change.]

NpgsqlTransaction overview

Public Instance Properties

Connection Gets the NpgsqlConnection object associated with the transaction, or a null reference if the transaction is no longer valid.
IsolationLevel Specifies the IsolationLevel for this transaction.

Public Instance Methods

Commit Commits the database transaction.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose Releases the unmanaged resources used by the NpgsqlTransaction and optionally releases the managed resources.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Rollback Rolls back a transaction from a pending state.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

NpgsqlTransaction Class | Npgsql Namespace