private static MongoContext CreateNewContext() { MongoContext ctx = new MongoContext(); ctx._mongoClient = new MongoClient(MongoDBConfiguration.GetConfig().MongoDBCollection["Connection"].Value); return(ctx); }
private static MongoContext CreateNewContext() { MongoContext ctx = new MongoContext(); ctx._mongoClient = new MongoClient(MongoDBConfiguration.GetConfig().MongoDBCollection["Connection"].Value); return(ctx); }