Beispiel #1
0
 public static BetweenExpression Between(Symbol propertyName, Constant start, Constant end)
      => new BetweenExpression(propertyName, start, end);
Beispiel #2
0
 public static BetweenExpression Between(Symbol propertyName, object start, object end)
     => new BetweenExpression(propertyName, new Constant(start), new Constant(end));
Beispiel #3
0
 public static Expression StartsWith(Symbol propertyName, Constant value)
     => new FunctionExpression("startsWith", propertyName, value);
Beispiel #4
0
 public static Expression Size(Symbol propertyName)
   => new FunctionExpression("size", propertyName);
Beispiel #5
0
 public static Expression In(Symbol propertyName, params long[] values)
     => new InExpression(propertyName, values.Select(Constant).ToArray());
Beispiel #6
0
 public static Expression Contains(Symbol propertyName, Constant value)
   => new FunctionExpression("contains", propertyName, value);
Beispiel #7
0
 // Dynamo NOTE: IN : Checks for matching elements within two sets.
 public static Expression In(Symbol propertyName, params Expression[] values)
     => new InExpression(propertyName, values);
Beispiel #8
0
 public static Expression Lte(Symbol name, object value)
     => new BinaryExpression(name, ExpressionKind.Lte, Constant(value));
Beispiel #9
0
 public static Expression NotEq(Symbol propertyName, object value)
     => new BinaryExpression(propertyName, ExpressionKind.NotEqual, Constant(value));
Beispiel #10
0
 public static Expression Eq(Symbol propertyName, Symbol symbol)
     => new BinaryExpression(propertyName, ExpressionKind.Equal, symbol);
Beispiel #11
0
 public static Expression Eq(Symbol propertyName, string value)
   => new BinaryExpression(propertyName, ExpressionKind.Equal, new Constant(value));