public UnitRepository() { MongoDBOptions options = new MongoDBOptions("mongodb://localhost", false); _options = options; _proxy = MongoProxy.Instance(_options.ConnectionString); }
public UnitRepository(MongoDBOptions options) { _options = options; _proxy = MongoProxy.Instance(_options.ConnectionString); }
public NodeRepository(MongoDBOptions options, IUnitRepository unitRepository) { _options = options; _proxy = MongoProxy.Instance(_options.ConnectionString); _unitRepository = unitRepository; }