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
parameterParameterExpressionThe parameter expression.
propertyNamestringThe name of the property.
Returns
- Expression<Func<T, bool>>
The expression that checks if the property value is null.
Type Parameters
TThe 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
parameterParameterExpressionThe parameter expression.
propertyExpressionExpressionThe expression representing the property.
Returns
- Expression<Func<T, bool>>
The expression that checks if the property value is null.
Type Parameters
TThe type of the entity.