Method GetNotEqualsExpression
- Namespace
- Innova.Data.StructuredSearch.Operators
- Assembly
- Innova.Data.dll
GetNotEqualsExpression<T>(ParameterExpression, Expression, object)
Gets the expression that represents the inequality comparison between the property expression and the filter value.
public static Expression<Func<T, bool>> GetNotEqualsExpression<T>(ParameterExpression parameter, Expression propertyExpression, object filterValue)
Parameters
parameter
ParameterExpressionThe parameter expression.
propertyExpression
ExpressionThe expression representing the property to compare.
filterValue
objectThe value to compare against.
Returns
- Expression<Func<T, bool>>
The expression representing the inequality comparison.
Type Parameters
T
The type of the entity.
GetNotEqualsExpression<T>(ParameterExpression, string, object)
Gets the expression that represents the inequality comparison between the specified property and filter value.
public static Expression<Func<T, bool>> GetNotEqualsExpression<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 inequality comparison.
Type Parameters
T
The type of the entity.