Example #1
0
 /// <summary>
 /// Add Less Than Or Equal to query
 /// </summary>
 /// <param name="whereFilter">Where Filter instance</param>
 /// <param name="value">Value to filter</param>
 /// <returns></returns>
 public static IComparisonOperators LessThanOrEqualTo(this IWhereFilter whereFilter, int value)
 => whereFilter.To <ComparisonOperators>().LessThanOrEqualTo(value);
Example #2
0
 /// <summary>
 /// Add Not Equal to query
 /// </summary>
 /// <param name="whereFilter">Where Filter instance</param>
 /// <param name="value">Value to filter</param>
 /// <returns></returns>
 public static IComparisonOperators NotEqualTo(this IWhereFilter whereFilter, string value)
 => whereFilter.To <ComparisonOperators>().NotEqualTo(value);
Example #3
0
 /// <summary>
 /// Add Greater Than to query
 /// </summary>
 /// <param name="whereFilter">Where Filter instance</param>
 /// <param name="value">Value to filter</param>
 /// <returns></returns>
 public static IComparisonOperators GreaterThan(this IWhereFilter whereFilter, int value)
 => whereFilter.To <ComparisonOperators>().GreaterThan(value);