コード例 #1
0
            public void PredicateAll()
            {
                var compoundCondition = new CompoundCondition(Operator.And);

                Node         bikeNode  = Cypher.Node("Bike");
                Relationship userBikes = _userNode.RelationshipTo(bikeNode, "OWNS");

                compoundCondition.Add(Predicates.Exists(userBikes));

                SymbolicName userOwns = Cypher.Name("userOwns");

                //var test = Cypher.ListWith(userOwns).In();


                StatementBuilder statement = Cypher
                                             .Match(new Where(compoundCondition), _userNode)
                                             .Return(_userNode);

                statement.Build().MatchSnapshot();
            }
コード例 #2
0
 private void LeaveVisitable(CompoundCondition _) => _writer.Write(")");
コード例 #3
0
 private void EnterVisitable(CompoundCondition _) => _writer.Write("(");