/// <summary> /// Get a mongodb database by the name. /// </summary> /// <param name="database">Name of the database</param> /// <returns>MongoDB database instance or null if no database found</returns> /// <exception cref="ArgumentNullException">Thrown if database is null or empty</exception> public IMongoDatabase GetDatabase(string database) { return(_migrationManager.GetDatabase(database)); }