Table of Contents

Method GetIsNullExpression

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

GetIsNullExpression<T>(ParameterExpression, string)

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

public static Expression<Func<T, bool>> GetIsNullExpression<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 value is null.

Type Parameters

T

The type of the entity.

GetIsNullExpression<T>(ParameterExpression, Expression)

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

public static Expression<Func<T, bool>> GetIsNullExpression<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 value is null.

Type Parameters

T

The type of the entity.