Npgsql Api Docs

NpgsqlConnection.Database Property

Gets the name of the current database or the database to be used after a connection is opened.

[Visual Basic]
Overrides Public ReadOnly Property Database As String _
    Implements IDbConnection.Database
[C#]
public override string Database {get;}

Property Value

The name of the current database or the name of the database to be used after a connection is opened. The default value is the empty string.

Implements

IDbConnection.Database

See Also

NpgsqlConnection Class | Npgsql Namespace