Esempio n. 1
0
        private static MongoContext CreateNewContext()
        {
            MongoContext ctx = new MongoContext();

            ctx._mongoClient = new MongoClient(MongoDBConfiguration.GetConfig().MongoDBCollection["Connection"].Value);
            return(ctx);
        }