--
You received this message because you are subscribed to the Google Groups "Neo4jClient" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4jclient...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There’s no reason you can’t just chain the calls together:
public ICypherFluentQuery GetUserMatch(ICypherFluentQuery query, string name){
return query.Match(“(u:User {name:’” + name + ”’})”);
}
Public ICypherFluentQuery GetLocationMatch(ICypherFluentQuery query, string location){
return query.Match(“(l:Location {name:’” + location + “’})”);
}
Then something like:
Var query = GetUserMatch(gc.Cypher, “chris”);
query = GetLocationMatch(query, “England”);
Is that what you’re talking about?