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
parameterParameterExpressionThe parameter expression.
propertyNamestringThe name of the property.
filterValueobjectThe value to filter.
Returns
- Expression<Func<T, bool>>
The expression representing the negation of the contains operation.
Type Parameters
TThe 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
parameterParameterExpressionThe parameter expression.
propertyExpressionExpressionThe expression representing the property to check.
filterValueobjectThe value to check for containment.
Returns
- Expression<Func<T, bool>>
The expression representing the negation of the contains operation.
Type Parameters
TThe type of the entity.