예제 #1
0
 public MongoFhirStoreOther(string mongoUrl, IFhirStore mongoFhirStoreOther)
 {
     _mongoFhirStoreOther = mongoFhirStoreOther;
     this.database        = MongoDatabaseFactory.GetMongoDatabase(mongoUrl);
     this.collection      = database.GetCollection <BsonDocument>(Collection.RESOURCE);
     //this.transaction = new MongoSimpleTransaction(collection);
 }
예제 #2
0
 public MongoFhirStore(string mongoUrl)
 {
     this.database   = MongoDatabaseFactory.GetMongoDatabase(mongoUrl);
     this.collection = database.GetCollection(Collection.RESOURCE);
     //this.transaction = new MongoSimpleTransaction(collection);
 }
예제 #3
0
 public MongoFhirStore(string mongoUrl)
 {
     _database   = MongoDatabaseFactory.GetMongoDatabase(mongoUrl);
     _collection = _database.GetCollection <BsonDocument>(Collection.RESOURCE);
 }