Beispiel #1
0
 public Condition Where(Condition condition)
 {
     Ensure.IsNotNull(condition, "The condition is required");
     return(new BooleanFunctionCondition(
                FunctionInvocation.Create(_predicate,
                                          new ListPredicate(_name, _listExpression, new Where(condition)))));
 }
Beispiel #2
0
 public static FunctionInvocation Exists(Expression expression) =>
 FunctionInvocation.Create(BuiltInFunctions.Predicates.Exists, expression);
Beispiel #3
0
 public static FunctionInvocation All(Expression expression) =>
 FunctionInvocation.Create(BuiltInFunctions.Predicates.All, expression);
Beispiel #4
0
 /// <summary>
 /// See
 /// <a href="https://neo4j.com/docs/cypher-manual/current/functions/predicate/#functions-exists">
 /// Functions Exists
 /// </a>
 /// </summary>
 /// <param name="pattern"></param>
 /// <returns></returns>
 public static Condition Exists(IRelationshipPattern pattern) =>
 new BooleanFunctionCondition(
     FunctionInvocation.Create(BuiltInFunctions.Predicates.Exists, pattern));
Beispiel #5
0
 /// <summary>
 /// See
 /// <a href="https://neo4j.com/docs/cypher-manual/current/functions/predicate/#functions-exists">
 /// Functions Exists
 /// </a>
 /// </summary>
 /// <param name="property"></param>
 /// <returns></returns>
 public static Condition Exists(Property property) =>
 new BooleanFunctionCondition(
     FunctionInvocation.Create(BuiltInFunctions.Predicates.Exists, property));