Method GetGreaterThanExpression
- Namespace
- Innova.Data.StructuredSearch.Operators
- Assembly
- Innova.Data.dll
GetGreaterThanExpression<T>(ParameterExpression, string, object)
Gets an expression that represents a greater than comparison for the specified property.
public static Expression<Func<T, bool>> GetGreaterThanExpression<T>(ParameterExpression parameter, string propertyName, object filterValue)
Parameters
parameter
ParameterExpressionThe parameter expression.
propertyName
stringThe name of the 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.
GetGreaterThanExpression<T>(ParameterExpression, Expression, object)
Gets an expression that represents a greater than comparison for the specified property.
public static Expression<Func<T, bool>> GetGreaterThanExpression<T>(ParameterExpression parameter, Expression propertyExpression, object filterValue)
Parameters
parameter
ParameterExpressionThe parameter expression.
propertyExpression
ExpressionThe expression representing the 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.