title: How get relationship's startNodeId and endNodeId using Neo4jClient?
body: <pre><code>var query = client.Cypher
               .Match("(n1)-[r]-[n2]")
               .Where("n1.NodeId={startNodeId} and n2.NodeId={endNodeId}")
               .WithParam("startNodeId",startNodeId)
               .withParam("endNodeId",endNodeId)
               .return((r,n1,n2)=&gt;new {Edge=r.As&lt;Node&lt;string&gt;&gt;(),Type=r.Type()});
  </code></pre>
  
  <p>By this way,I can only get the relationship's <strong>Label</strong> and <strong>Properties</strong>.But I also want to get the relationship's startNodeId and endNodeId.
  By the way,I can get the relationship's startNodeId and endNodeId by using REST API.
  How can anyone help me?</p>
  
  <p>Z.Tom</p>