Beispiel #1
0
        public static IDatabase CheckOut(string dbName)
        {
            var url = "mongodb://localhost";
            var db  = new MongoDBResource(url, dbName);

            return(db);
        }
Beispiel #2
0
        public static IDatabase CheckOut(string dbName)
        {
            var url = "mongodb://localhost";
            var db = new MongoDBResource(url, dbName);

            return db;
        }