Ejemplo n.º 1
0
 public static NotEqualPredicate NotEqual(this PredicateProperty predicateProperty, object value)
 {
     return(new NotEqualPredicate(predicateProperty.Property, value));
 }
Ejemplo n.º 2
0
 public static RegexPredicate MatchesRegex(this PredicateProperty predicateProperty, string regex)
 {
     return(new RegexPredicate(predicateProperty.Property, regex));
 }
Ejemplo n.º 3
0
 public static LikePredicate Like(this PredicateProperty predicateProperty, string expression)
 {
     return(new LikePredicate(predicateProperty.Property, expression));
 }
Ejemplo n.º 4
0
 public static GreaterLessPredicate LessThanOrEqual(this PredicateProperty predicateProperty, object value)
 {
     return(new GreaterLessPredicate(predicateProperty.Property, value, true, true));
 }
Ejemplo n.º 5
0
 public static InPredicate In(this PredicateProperty predicateProperty, params object[] values)
 {
     return(new InPredicate(predicateProperty.Property, values));
 }
Ejemplo n.º 6
0
 public static GreaterLessPredicate GreaterThan(this PredicateProperty predicateProperty, object value)
 {
     return(new GreaterLessPredicate(predicateProperty.Property, value, false, false));
 }
Ejemplo n.º 7
0
 public static BetweenPredicate Between(this PredicateProperty predicateProperty, object from, object to)
 {
     return(new BetweenPredicate(predicateProperty.Property, from, to));
 }