Method GetEndsWithExpression
- Namespace
- Innova.Data.StructuredSearch.Operators
- Assembly
- Innova.Data.dll
GetEndsWithExpression<T>(ParameterExpression, string, object)
Gets an expression that represents a condition where the specified property ends with the specified filter value.
public static Expression<Func<T, bool>> GetEndsWithExpression<T>(ParameterExpression parameter, string propertyName, object filterValue)
Parameters
parameterParameterExpressionThe parameter expression.
propertyNamestringThe name of the property.
filterValueobjectThe filter value.
Returns
- Expression<Func<T, bool>>
An expression representing the condition.
Type Parameters
TThe type of the entity.
GetEndsWithExpression<T>(ParameterExpression, Expression, object)
Gets an expression that represents a condition where the specified property ends with the specified filter value.
public static Expression<Func<T, bool>> GetEndsWithExpression<T>(ParameterExpression parameter, Expression propertyExpression, object filterValue)
Parameters
parameterParameterExpressionThe parameter expression.
propertyExpressionExpressionThe expression representing the property.
filterValueobjectThe filter value.
Returns
- Expression<Func<T, bool>>
An expression representing the condition.
Type Parameters
TThe type of the entity.