Esempio n. 1
0
 public static FilterExpression <T, TProperty> StringContains <T, TProperty>(this PropertyExpression <T, TProperty> property, TProperty value)
 {
     return(new FilterExpression <T, TProperty>(property, FilterOperation.Contains, value));
 }
Esempio n. 2
0
 public static QualifierExpression <T, TProperty> Any <T, TProperty>(this PropertyExpression <T, TProperty> property)
 {
     return(new QualifierExpression <T, TProperty>(property, QualifierOperation.Any));
 }
Esempio n. 3
0
 public static FilterExpression <T, TProperty> IsGreaterThanOrEqual <T, TProperty>(this PropertyExpression <T, TProperty> property, TProperty value)
 {
     return(new FilterExpression <T, TProperty>(property, FilterOperation.Gte, value));
 }
Esempio n. 4
0
 public static FilterExpression <T, TProperty> IsLessThan <T, TProperty>(this PropertyExpression <T, TProperty> property, TProperty value)
 {
     return(new FilterExpression <T, TProperty>(property, FilterOperation.Lt, value));
 }
Esempio n. 5
0
 public static FilterExpression <T, TProperty> Create <T, TProperty>(PropertyExpression <T, TProperty> property, FilterOperation comparison, TProperty value)
 {
     return(new FilterExpression <T, TProperty>(property, comparison, value));
 }
Esempio n. 6
0
 public FilterExpression(PropertyExpression <T, TProperty> property, FilterOperation comparison, TProperty value)
 {
     Property   = property;
     Comparison = comparison;
     Value      = value;
 }
Esempio n. 7
0
 public QualifierExpression(PropertyExpression <T, TProperty> property, QualifierOperation operation)
 {
     Property  = property;
     Operation = operation;
 }