Method GetNotContainsExpression
- Namespace
- Innova.Data.StructuredSearch.Operators
- Assembly
- Innova.Data.dll
GetNotContainsExpression<T>(ParameterExpression, string, object)
Gets the expression that represents the negation of a contains operation.
public static Expression<Func<T, bool>> GetNotContainsExpression<T>(ParameterExpression parameter, string propertyName, object filterValue)
Parameters
parameter
ParameterExpressionThe parameter expression.
propertyName
stringThe name of the property.
filterValue
objectThe value to filter.
Returns
- Expression<Func<T, bool>>
The expression representing the negation of the contains operation.
Type Parameters
T
The type of the entity.
GetNotContainsExpression<T>(ParameterExpression, Expression, object)
Gets the expression that represents the negation of a contains operation.
public static Expression<Func<T, bool>> GetNotContainsExpression<T>(ParameterExpression parameter, Expression propertyExpression, object filterValue)
Parameters
parameter
ParameterExpressionThe parameter expression.
propertyExpression
ExpressionThe expression representing the property to check.
filterValue
objectThe value to check for containment.
Returns
- Expression<Func<T, bool>>
The expression representing the negation of the contains operation.
Type Parameters
T
The type of the entity.