// 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)));
 }