示例#1
0
 public static AbstractCriterion LessThanOrEqualProperty(string leftPropertyName, string rightPropertyName) =>
 RestrictionWrapper.CompareProperty(leftPropertyName, rightPropertyName, RangeOperator.LessThanOrEqual);
示例#2
0
 public static AbstractCriterion Equal(IProjection projection, object value) =>
 RestrictionWrapper.Compare(projection, value, RangeOperator.Equal);
示例#3
0
 public static AbstractCriterion LessThanProperty(string leftPropertyName, IProjection rightProjection) =>
 RestrictionWrapper.CompareProperty(leftPropertyName, rightProjection, RangeOperator.LessThan);
示例#4
0
 public static AbstractCriterion GreaterThanOrEqualProperty(string leftPropertyName, IProjection rightProjection) =>
 RestrictionWrapper.CompareProperty(leftPropertyName, rightProjection, RangeOperator.GreaterThanOrEqual);
示例#5
0
 public static AbstractCriterion Equal(string propertyName, object value) =>
 RestrictionWrapper.Compare(propertyName, value, RangeOperator.Equal);
示例#6
0
 public static AbstractCriterion GreaterThanProperty(IProjection leftProjection, IProjection rightProjection) =>
 RestrictionWrapper.CompareProperty(leftProjection, rightProjection, RangeOperator.GreaterThan);
示例#7
0
 public static AbstractCriterion GreaterThanProperty(string leftPropertyName, string rightPropertyName) =>
 RestrictionWrapper.CompareProperty(leftPropertyName, rightPropertyName, RangeOperator.GreaterThan);
示例#8
0
 public static AbstractCriterion NotEqualProperty(IProjection leftProjection, IProjection rightProjection) =>
 RestrictionWrapper.CompareProperty(leftProjection, rightProjection, RangeOperator.NotEqual);
示例#9
0
 public static AbstractCriterion EqualProperty(IProjection leftProjection, string rightPropertyName) =>
 RestrictionWrapper.CompareProperty(leftProjection, rightPropertyName, RangeOperator.Equal);