public override DbExpression Visit(DbIsNullExpression expression) { EntityUtil.CheckArgumentNull(expression, "expression"); return(VisitUnary(expression, exp => { if (TypeSemantics.IsRowType(exp.ResultType)) { // return CqtBuilder.CreateIsNullExpressionAllowingRowTypeArgument(exp); } else { return CqtBuilder.IsNull(exp); } } )); }
/// <summary> /// Typed visitor pattern method for DbIsNullExpression. /// </summary> /// <param name="expression">The DbIsNullExpression that is being visited.</param> /// <returns>An instance of TResultType.</returns> public abstract TResultType Visit(DbIsNullExpression expression);
/// <summary> /// Visitor pattern method for <see cref="DbIsNullExpression"/>. /// </summary> /// <param name="expression">The DbIsNullExpression that is being visited.</param> /// <exception cref="ArgumentNullException"><paramref name="expression"/> is null</exception> public override void Visit(DbIsNullExpression expression) { VisitUnaryExpression(expression); }
/// <summary> /// Visitor pattern method for DbIsNullExpression. /// </summary> /// <param name="expression">The DbIsNullExpression that is being visited.</param> public abstract void Visit(DbIsNullExpression expression);