Table of Contents

Method GetIsNotNullExpression

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

GetIsNotNullExpression<T>(ParameterExpression, string)

Gets the expression that checks if the property is not null.

public static Expression<Func<T, bool>> GetIsNotNullExpression<T>(ParameterExpression parameter, string propertyName)

Parameters

parameter ParameterExpression

The parameter expression.

propertyName string

The name of the property.

Returns

Expression<Func<T, bool>>

The expression that checks if the property is not null.

Type Parameters

T

The type of the entity.

GetIsNotNullExpression<T>(ParameterExpression, Expression)

Gets the expression that checks if the property is not null.

public static Expression<Func<T, bool>> GetIsNotNullExpression<T>(ParameterExpression parameter, Expression propertyExpression)

Parameters

parameter ParameterExpression

The parameter expression.

propertyExpression Expression

The expression representing the property.

Returns

Expression<Func<T, bool>>

The expression that checks if the property is not null.

Type Parameters

T

The type of the entity.