Skip to content

Throw a null type exception when database is null (i.e. can't be found in the server) #61

@AdityaNPL

Description

@AdityaNPL

On line 119:

public Database Database(string dbName)
{
// The database collection is cached and not invalidated on database creation (with a second server object).
_server.Databases.Refresh();
var database = _server.Databases[dbName];
return database == null ? null : new Database(database, this);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions