Table of Contents

Method GetNotInExpression

Namespace
Innova.Data.StructuredSearch.Operators
Assembly
Innova.Data.dll

GetNotInExpression<T>(ParameterExpression, string, IEnumerable)

Generates an expression that checks if the property value is not in the specified collection of values.

public static Expression<Func<T, bool>> GetNotInExpression<T>(ParameterExpression parameter, string propertyName, IEnumerable values)

Parameters

parameter ParameterExpression

The parameter expression.

propertyName string

The name of the property to check.

values IEnumerable

The collection of values to check against.

Returns

Expression<Func<T, bool>>

An expression that represents the check for the property value not being in the specified collection of values.

Type Parameters

T

The type of the entity.

GetNotInExpression<T>(ParameterExpression, Expression, IEnumerable)

Generates an expression that checks if the property value is not in the specified collection of values.

public static Expression<Func<T, bool>> GetNotInExpression<T>(ParameterExpression parameter, Expression propertyExpression, IEnumerable values)

Parameters

parameter ParameterExpression

The parameter expression.

propertyExpression Expression

The expression representing the property to check.

values IEnumerable

The collection of values to check against.

Returns

Expression<Func<T, bool>>

An expression that represents the check for the property value not being in the specified collection of values.

Type Parameters

T

The type of the entity.