Method GetDatabase
GetDatabase(string, MongoDatabaseSettings)
Gets a database.
public override sealed IMongoDatabase GetDatabase(string name, MongoDatabaseSettings settings = null)
Parameters
name
stringThe name of the database.
settings
MongoDatabaseSettingsThe database settings.
Returns
- IMongoDatabase
An implementation of a database.