Method GetDateGreaterThanExpression
- Namespace
- Innova.Data.StructuredSearch.Operators
- Assembly
- Innova.Data.dll
GetDateGreaterThanExpression<T>(ParameterExpression, string, object)
Gets an expression that represents a greater than comparison for the specified date property.
public static Expression<Func<T, bool>> GetDateGreaterThanExpression<T>(ParameterExpression parameter, string propertyName, object filterValue)
Parameters
parameter
ParameterExpressionThe parameter expression.
propertyName
stringThe name of the date property.
filterValue
objectThe value to compare against.
Returns
- Expression<Func<T, bool>>
An expression representing the greater than comparison.
Type Parameters
T
The type of the entity.
GetDateGreaterThanExpression<T>(ParameterExpression, Expression, object)
Gets an expression that represents a greater than comparison for the specified date property.
public static Expression<Func<T, bool>> GetDateGreaterThanExpression<T>(ParameterExpression parameter, Expression propertyExpression, object filterValue)
Parameters
parameter
ParameterExpressionThe parameter expression.
propertyExpression
ExpressionThe expression representing the date property.
filterValue
objectThe value to compare against.
Returns
- Expression<Func<T, bool>>
An expression representing the greater than comparison.
Type Parameters
T
The type of the entity.