Table of Contents

Method GetGreaterThanExpression

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

GetGreaterThanExpression<T>(ParameterExpression, string, object)

Gets an expression that represents a greater than comparison for the specified property.

public static Expression<Func<T, bool>> GetGreaterThanExpression<T>(ParameterExpression parameter, string propertyName, object filterValue)

Parameters

parameter ParameterExpression

The parameter expression.

propertyName string

The name of the property.

filterValue object

The value to compare against.

Returns

Expression<Func<T, bool>>

An expression representing the greater than comparison.

Type Parameters

T

The type of the entity.

GetGreaterThanExpression<T>(ParameterExpression, Expression, object)

Gets an expression that represents a greater than comparison for the specified property.

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

Parameters

parameter ParameterExpression

The parameter expression.

propertyExpression Expression

The expression representing the property.

filterValue object

The value to compare against.

Returns

Expression<Func<T, bool>>

An expression representing the greater than comparison.

Type Parameters

T

The type of the entity.