Exemplo n.º 1
0
 public static ComparisonPredicate NotEqualTo(Expr left, Expr right, ComparisonPredicateModifier modifier = ComparisonPredicateModifier.Direct, ComparisonPredicateOptions options = 0)
 {
     return Comparison(left, PredicateOperatorType.NotEqualTo, right, modifier, options);
 }
Exemplo n.º 2
0
 public static ComparisonPredicate Comparison(Expr left, PredicateOperatorType op, Expr right, ComparisonPredicateModifier modifier = ComparisonPredicateModifier.Direct, ComparisonPredicateOptions options = 0)
 {
     ComparisonPredicate p = new ComparisonPredicate();
       p.LeftExpression = left;
       p.PredicateOperatorType = op;
       p.RightExpression = right;
       p.ComparisonPredicateModifier = modifier;
       p.Options = options;
       return p;
 }
Exemplo n.º 3
0
 public static ComparisonPredicate LessThan(Expr left, Expr right, ComparisonPredicateModifier modifier = ComparisonPredicateModifier.Direct, ComparisonPredicateOptions options = 0)
 {
     return Comparison(left, PredicateOperatorType.LessThan, right, modifier, options);
 }
Exemplo n.º 4
0
 public static ComparisonPredicate BeginsWith(Expr left, Expr right, ComparisonPredicateModifier modifier = ComparisonPredicateModifier.Direct, ComparisonPredicateOptions options = 0)
 {
     return Comparison(left, PredicateOperatorType.BeginsWith, right, modifier, options);
 }