public static bool GraphKeyItemExist(BlockGraph graph, string key) { var conn = muxer.GetDatabase(GetGraphDatabaseId()); var isolatedKey = graph.GetId() + "/" + key; return(conn.KeyExists(isolatedKey)); }
public static void SetGraphKeyItem(BlockGraph graph, string key, string value) { var conn = muxer.GetDatabase(GetGraphDatabaseId()); var isolatedKey = graph.GetId() + "/" + key; conn.StringSet(isolatedKey, value); }