Пример #1
0
 public void UseMongo(string connectionString)
 {
     _options = new MongoOptions(connectionString);
 }
Пример #2
0
 public BanBrickGeometryContext(MongoOptions options)
 {
     _database = new MongoClient(options.MongoClientSettings).GetDatabase(options.Database);
 }
Пример #3
0
 public MongoSettingsBuilder()
 {
     _options = new MongoOptions();
 }