Пример #1
0
 public MongoDbContextOptionsBuilder()
 {
     Options = new MongoDbContextOptions()
     {
         ConnectString = "mongodb://127.0.0.1:27017", Database = "local"
     };
 }
Пример #2
0
 public MongoContext(MongoDbContextOptions options)
 {
     this.options = options;
 }