protected internal override Expression VisitLike(LikeExpression like) { Visit(like.Expression); sb.Append(" LIKE "); Visit(like.Pattern); return(like); }
protected internal virtual Expression VisitLike(LikeExpression like) { Expression exp = Visit(like.Expression); Expression pattern = Visit(like.Pattern); if (exp != like.Expression || pattern != like.Pattern) { return(new LikeExpression(exp, pattern)); } return(like); }
protected virtual bool CompareLike(LikeExpression a, LikeExpression b) { return(Compare(a.Expression, b.Expression) && Compare(a.Pattern, b.Pattern)); }