コード例 #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);
 }
コード例 #2
0
ファイル: CypherBoolean.cs プロジェクト: Neo4Net/Neo4Net
 public override Value MapRelationship(VirtualRelationshipValue value)
 {
     throw new CypherTypeException("Don't know how to treat that as a boolean: " + value, null);
 }