예제 #1
0
        public UnitRepository()
        {
            MongoDBOptions options = new MongoDBOptions("mongodb://localhost", false);

            _options = options;
            _proxy   = MongoProxy.Instance(_options.ConnectionString);
        }
예제 #2
0
 public UnitRepository(MongoDBOptions options)
 {
     _options = options;
     _proxy   = MongoProxy.Instance(_options.ConnectionString);
 }
예제 #3
0
 public NodeRepository(MongoDBOptions options, IUnitRepository unitRepository)
 {
     _options        = options;
     _proxy          = MongoProxy.Instance(_options.ConnectionString);
     _unitRepository = unitRepository;
 }