Method GetDateLessThanExpression
- Namespace
- Innova.Data.StructuredSearch.Operators
- Assembly
- Innova.Data.dll
GetDateLessThanExpression<T>(ParameterExpression, string, object)
Gets the expression that represents a less than comparison for a date property.
public static Expression<Func<T, bool>> GetDateLessThanExpression<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 representing the less than comparison.
Type Parameters
T
The type of the entity.
GetDateLessThanExpression<T>(ParameterExpression, Expression, object)
Gets the expression that represents a less than comparison for a date property.
public static Expression<Func<T, bool>> GetDateLessThanExpression<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 representing the less than comparison.
Type Parameters
T
The type of the entity.