public static FilterExpression <T, TProperty> StringContains <T, TProperty>(this PropertyExpression <T, TProperty> property, TProperty value) { return(new FilterExpression <T, TProperty>(property, FilterOperation.Contains, value)); }
public static QualifierExpression <T, TProperty> Any <T, TProperty>(this PropertyExpression <T, TProperty> property) { return(new QualifierExpression <T, TProperty>(property, QualifierOperation.Any)); }
public static FilterExpression <T, TProperty> IsGreaterThanOrEqual <T, TProperty>(this PropertyExpression <T, TProperty> property, TProperty value) { return(new FilterExpression <T, TProperty>(property, FilterOperation.Gte, value)); }
public static FilterExpression <T, TProperty> IsLessThan <T, TProperty>(this PropertyExpression <T, TProperty> property, TProperty value) { return(new FilterExpression <T, TProperty>(property, FilterOperation.Lt, value)); }
public static FilterExpression <T, TProperty> Create <T, TProperty>(PropertyExpression <T, TProperty> property, FilterOperation comparison, TProperty value) { return(new FilterExpression <T, TProperty>(property, comparison, value)); }
public FilterExpression(PropertyExpression <T, TProperty> property, FilterOperation comparison, TProperty value) { Property = property; Comparison = comparison; Value = value; }
public QualifierExpression(PropertyExpression <T, TProperty> property, QualifierOperation operation) { Property = property; Operation = operation; }