Skip to content

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

Description

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);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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