コード例 #1
0
            // Create proxy wrapping values for nodes and relationships that are not already such values

            public override AnyValue MapNode(VirtualNodeValue value)
            {
                if (value is NodeValue)
                {
                    return(value);
                }
                return(ValueUtils.fromNodeProxy(ProxySpi.newNodeProxy(value.Id())));
            }
コード例 #2
0
 public override Node GetOtherNode(Node node)
 {
     _spi.assertInUnterminatedTransaction();
     return(_spi.newNodeProxy(GetOtherNodeId(node.Id)));
 }