Table of Contents

Method GetContainsExpression

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

GetContainsExpression<T>(ParameterExpression, string, object)

Gets the expression that checks if the specified property contains the filter value.

public static Expression<Func<T, bool>> GetContainsExpression<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 that checks if the property contains the filter value.

Type Parameters

T

The type of the entity.

GetContainsExpression<T>(ParameterExpression, Expression, object)

Gets the expression that checks if the property contains the specified filter value.

public static Expression<Func<T, bool>> GetContainsExpression<T>(ParameterExpression parameter, Expression propertyExpression, object filterValue)

Parameters

parameter ParameterExpression

The parameter expression.

propertyExpression Expression

The expression representing the property.

filterValue object

The filter value to check.

Returns

Expression<Func<T, bool>>

The expression that checks if the property contains the filter value.

Type Parameters

T

The type of the entity.