Example #1
0
 protected IsNullExpression UpdateIsNull(IsNullExpression isnull, Expression expression)
 {
     if (expression != isnull.Expression)
     {
         return(new IsNullExpression(expression));
     }
     return(isnull);
 }
 protected virtual bool CompareIsNull(IsNullExpression a, IsNullExpression b)
 {
     return(this.Compare(a.Expression, b.Expression));
 }
 protected override Expression VisitIsNull(IsNullExpression isnull)
 {
     this.VisitValue(isnull.Expression);
     this.Write(" IS NULL");
     return(isnull);
 }
Example #4
0
        protected virtual Expression VisitIsNull(IsNullExpression isnull)
        {
            Expression expression = this.Visit(isnull.Expression);

            return(this.UpdateIsNull(isnull, expression));
        }