protected override void BeforeTest() { _muxr = ConnectionMultiplexer.Connect("localhost"); _muxr.GetDatabase().Execute("FLUSHDB"); _api = new RedisGraph(_muxr.GetDatabase(0)); }
protected override void BeforeTest() { _muxr = ConnectionMultiplexer.Connect("localhost"); _api = new RedisGraph(_muxr.GetDatabase(0)); Assert.NotNull(_api.Query("social", "CREATE (:person{mixed_prop: 'strval'}), (:person{mixed_prop: 50})")); }
protected override void AfterTest() { _api = null; _muxr.Dispose(); _muxr = null; }
internal GraphCache(string graphId, RedisGraph redisGraph) { _labels = new GraphCacheList(graphId, "db.labels", redisGraph); _propertyNames = new GraphCacheList(graphId, "db.propertyKeys", redisGraph); _relationshipTypes = new GraphCacheList(graphId, "db.relationshipTypes", redisGraph); }