Пример #1
0
 protected internal override Expression VisitIsNull(IsNullExpression isNull)
 {
     sb.Append('(');
     this.Visit(isNull.Expression);
     sb.Append(") IS NULL");
     return(isNull);
 }
Пример #2
0
        protected internal virtual Expression VisitIsNull(IsNullExpression isNull)
        {
            var newExpr = Visit(isNull.Expression);

            if (newExpr != isNull.Expression)
            {
                return(new IsNullExpression(newExpr));
            }
            return(isNull);
        }
Пример #3
0
        protected internal override Expression VisitIsNull(IsNullExpression isNull)
        {
            var newExpr = MakeSqlValue(Visit(isNull.Expression));

            if (newExpr != isNull.Expression)
            {
                return(new IsNullExpression(newExpr));
            }
            return(isNull);
        }
Пример #4
0
 protected virtual bool CompareIsNull(IsNullExpression a, IsNullExpression b)
 {
     return(Compare(a.Expression, b.Expression));
 }