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); }
public MongoFhirStore(string mongoUrl) { this.database = MongoDatabaseFactory.GetMongoDatabase(mongoUrl); this.collection = database.GetCollection(Collection.RESOURCE); //this.transaction = new MongoSimpleTransaction(collection); }
public MongoFhirStore(string mongoUrl) { _database = MongoDatabaseFactory.GetMongoDatabase(mongoUrl); _collection = _database.GetCollection <BsonDocument>(Collection.RESOURCE); }