Table of Contents

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 ParameterExpression

The parameter expression.

propertyExpression Expression

The expression representing the property to compare.

filterValue object

The 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 ParameterExpression

The parameter expression.

propertyName string

The name of the property.

filterValue object

The filter value.

Returns

Expression<Func<T, bool>>

The expression representing the inequality comparison.

Type Parameters

T

The type of the entity.