MongoDB.Mongo.GetDB C# (CSharp) Method

GetDB() public method

public GetDB ( string name ) : Database
name string
return Database
        public Database GetDB(string name)
        {
            Contract.Requires(!string.IsNullOrWhiteSpace(name));
              return _databases.GetOrAdd(name, x => new Database(x, this));
        }