Table of Contents

Method GetStartsWithExpression

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

GetStartsWithExpression<T>(ParameterExpression, string, object)

Gets the expression that checks if the specified property starts with the filter value.

public static Expression<Func<T, bool>> GetStartsWithExpression<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 starts with the filter value.

Type Parameters

T

The type of the entity.

GetStartsWithExpression<T>(ParameterExpression, Expression, object)

Gets an expression that checks if the property value starts with the specified filter value.

public static Expression<Func<T, bool>> GetStartsWithExpression<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 against.

Returns

Expression<Func<T, bool>>

An expression that checks if the property value starts with the specified filter value.

Type Parameters

T

The type of the entity.