Npgsql API Documentation

NpgsqlTransaction Methods

[This is preliminary documentation and subject to change.]

The methods of the NpgsqlTransaction class are listed below. For a complete list of NpgsqlTransaction class members, see the NpgsqlTransaction Members topic.

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