![]() |
Overloaded. Initializes a new instance of the NpgsqlConnection class. |
![]() |
Protocol version in use. This can only be called when there is an active connection. |
![]() |
Gets the time to wait before closing unused connections in the pool if the count of all connections exeeds MinPoolSize. |
![]() |
Gets or sets the string used to connect to a PostgreSQL database. Valid values are:
|
![]() |
Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error. |
![]() |
|
![]() |
Gets the name of the current database or the database to be used after a connection is opened. |
![]() |
Backend server host name. |
![]() |
Backend server port. |
![]() |
Version of the PostgreSQL backend. This can only be called when there is an active connection. |
![]() |
|
![]() |
If true, the connection will attempt to use SSL. |
![]() |
Gets the current state of the connection. |
![]() |
Gets flag indicating if we are using Synchronous notification or not. The default value is false. |
![]() |
Overloaded. Begins a database transaction. |
![]() |
This method changes the current database by disconnecting from the actual database and connecting to the specified. |
![]() |
Create a new connection based on this one. |
![]() |
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. |
![]() |
Creates and returns a NpgsqlCommand object associated with the NpgsqlConnection. |
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
Overloaded. |
![]() |
|
![]() |
|
![]() |
Opens a database connection with the property settings specified by the ConnectionString. |
![]() |
![]() |
Mono.Security.Protocol.Tls.CertificateSelectionCallback delegate. |
![]() |
Mono.Security.Protocol.Tls.CertificateValidationCallback delegate. |
![]() |
|
![]() |
Occurs on NoticeResponses from the PostgreSQL backend. |
![]() |
Occurs on NotificationResponses from the PostgreSQL backend. |
![]() |
Mono.Security.Protocol.Tls.PrivateKeySelectionCallback delegate. |
![]() |
|
![]() |
NpgsqlConnection Class | Npgsql Namespace