예제 #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));
 }
예제 #2
0
 public static QualifierExpression <T, TProperty> Any <T, TProperty>(this PropertyExpression <T, TProperty> property)
 {
     return(new QualifierExpression <T, TProperty>(property, QualifierOperation.Any));
 }
예제 #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));
 }
예제 #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));
 }
예제 #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));
 }
예제 #6
0
 public FilterExpression(PropertyExpression <T, TProperty> property, FilterOperation comparison, TProperty value)
 {
     Property   = property;
     Comparison = comparison;
     Value      = value;
 }
예제 #7
0
 public QualifierExpression(PropertyExpression <T, TProperty> property, QualifierOperation operation)
 {
     Property  = property;
     Operation = operation;
 }