Ejemplo n.º 1
0
 public override AnyValue MapRelationship(VirtualRelationshipValue value)
 {
     if (value is RelationshipValue)
     {
         // Note: we do not want to keep a reference to the whole relationship value as it could contain a lot of data.
         return(VirtualValues.relationship(value.Id()));
     }
     return(value);
 }
Ejemplo n.º 2
0
 public override Value MapRelationship(VirtualRelationshipValue value)
 {
     throw new CypherTypeException("Don't know how to treat that as a boolean: " + value, null);
 }