Exemple #1
0
 public Mongo(MongoSettings config)
 {
     Client   = new MongoClient(config.Settings);
     Database = Client.GetDatabase(config.Database);
 }
 public MongoProvider(MongoSettings settings)
 {
     Settings = settings;
     mongo    = new MongoDB.Mongo(settings);
 }