I am building an application where node labels, parameters and relationships are going to be set by my users, so nodes, rel, and prop after a certain layer will be completely dynamic and unpredictable. My question is how do I run the following query and map the results to some sort of list that can be used to rebuild the graph visually. Using neo4jClient.
The query I use directly with the Neo4j Browser works great
Match(a:User),(b:Work)-->(n) Where a.UserId =
'xxxx' AND b.Name = 'CompanyA' Return b, n
In c# I have this, but its the return part that I am stuck on.
client.Cypher.Match("(a:User), (b:Work) --> (n)")
.Where("(a.UserId = '" + userId + "')").AndWhere("(b.Name = name"
.Return((a,n)).Results;
Any Ideas?