Constructor MongoDatabase
MongoDatabase(MongoServer, string, MongoDatabaseSettings)
Creates a new instance of MongoDatabase. Normally you would call one of the indexers or GetDatabase methods of MongoServer instead.
[Obsolete("User server.GetDatabase() instead.")]
public MongoDatabase(MongoServer server, string name, MongoDatabaseSettings settings)
Parameters
server
MongoServerThe server that contains this database.
name
stringThe name of the database.
settings
MongoDatabaseSettingsThe settings to use to access this database.