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.
IDbConnection.Close
NpgsqlConnection Class | Npgsql Namespace