The methods of the NpgsqlConnection class are listed below. For a complete list of NpgsqlConnection class members, see the NpgsqlConnection Members topic.
BeginTransaction
|
Overloaded. Begins a database transaction. |
ChangeDatabase
|
This method changes the current database by disconnecting from the actual database and connecting to the specified. |
Clone
|
Create a new connection based on this one. |
Close
|
Releases the connection to the database. If the connection is pooled, it will be made available for re-use. If it is non-pooled, the actual connection will be shutdown. |
CreateCommand
|
Creates and returns a NpgsqlCommand object associated with the NpgsqlConnection. |
CreateObjRef (inherited from MarshalByRefObject) |
|
Dispose (inherited from Component) |
|
Equals (inherited from Object) |
|
GetHashCode (inherited from Object) |
|
GetLifetimeService (inherited from MarshalByRefObject) |
|
GetSchema
|
Overloaded. |
GetType (inherited from Object) |
|
InitializeLifetimeService (inherited from MarshalByRefObject) |
|
Open
|
Opens a database connection with the property settings specified by the ConnectionString. |
ToString (inherited from Component) |