public static GreaterLessPredicate LessThanOrEqual(this PredicateProperty predicateProperty, object value) { if (predicateProperty == null) { throw new ArgumentNullException(nameof(predicateProperty)); } return(new GreaterLessPredicate(predicateProperty.Property, value, true, true)); }
public static InPredicate In(this PredicateProperty predicateProperty, params object[] values) { if (predicateProperty == null) { throw new ArgumentNullException(nameof(predicateProperty)); } return(new InPredicate(predicateProperty.Property, values)); }
public static CaseInsensitiveLikePredicate ILike(this PredicateProperty predicateProperty, string expression) { if (predicateProperty == null) { throw new ArgumentNullException(nameof(predicateProperty)); } return(new CaseInsensitiveLikePredicate(predicateProperty.Property, expression)); }
public static EqualPredicate Equal(this PredicateProperty predicateProperty, object value) { if (predicateProperty == null) { throw new ArgumentNullException(nameof(predicateProperty)); } return(new EqualPredicate(predicateProperty.Property, value)); }
public static BetweenPredicate Between(this PredicateProperty predicateProperty, object from, object to) { if (predicateProperty == null) { throw new ArgumentNullException(nameof(predicateProperty)); } return(new BetweenPredicate(predicateProperty.Property, from, to)); }
public static RegexPredicate MatchesRegex(this PredicateProperty predicateProperty, string regex) { if (predicateProperty == null) { throw new ArgumentNullException(nameof(predicateProperty)); } return(new RegexPredicate(predicateProperty.Property, regex)); }