System.Data.Entity.Core.Objects.ELinq.ExpressionConverter.CreateIsNullExpression C# (CSharp) Method

CreateIsNullExpression() private static method

Creates an implementation of IsNull. Throws exception when operand type is not supported.
private static CreateIsNullExpression ( DbExpression operand, Type operandClrType ) : DbExpression
operand DbExpression
operandClrType Type
return DbExpression
        private static DbExpression CreateIsNullExpression(DbExpression operand, Type operandClrType)
        {
            VerifyTypeSupportedForComparison(operandClrType, operand.ResultType, null, true);
            return operand.IsNull();
        }