Table of Contents

Method GetDateGreaterThanExpression

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

GetDateGreaterThanExpression<T>(ParameterExpression, string, object)

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

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

Parameters

parameter ParameterExpression

The parameter expression.

propertyName string

The name of the date 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.

GetDateGreaterThanExpression<T>(ParameterExpression, Expression, object)

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

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

Parameters

parameter ParameterExpression

The parameter expression.

propertyExpression Expression

The expression representing the date 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.