Method GetLessThanOrEqualExpression
- Namespace
- Innova.Data.StructuredSearch.Operators
- Assembly
- Innova.Data.dll
GetLessThanOrEqualExpression<T>(ParameterExpression, string, object)
Gets the expression that checks if the property value is less than or equal to the specified filter value.
public static Expression<Func<T, bool>> GetLessThanOrEqualExpression<T>(ParameterExpression parameter, string propertyName, object filterValue)
Parameters
parameter
ParameterExpressionThe parameter expression.
propertyName
stringThe name of the property.
filterValue
objectThe filter value.
Returns
- Expression<Func<T, bool>>
The expression that checks if the property value is less than or equal to the specified filter value.
Type Parameters
T
The type of the entity.
GetLessThanOrEqualExpression<T>(ParameterExpression, Expression, object)
Gets the expression that checks if the property value is less than or equal to the specified filter value.
public static Expression<Func<T, bool>> GetLessThanOrEqualExpression<T>(ParameterExpression parameter, Expression propertyExpression, object filterValue)
Parameters
parameter
ParameterExpressionThe parameter expression.
propertyExpression
ExpressionThe expression representing the property.
filterValue
objectThe filter value.
Returns
- Expression<Func<T, bool>>
The expression that checks if the property value is less than or equal to the specified filter value.
Type Parameters
T
The type of the entity.