Inheritance: SqlExpressionVisitor
示例#1
0
        public static int Count(Expression expression, Predicate <Expression> isMatch)
        {
            var finder = new ExpressionCounter(isMatch);

            finder.Visit(expression);

            return(finder.count);
        }
示例#2
0
		public static int Count(Expression expression, Predicate<Expression> isMatch)
		{
			var finder = new ExpressionCounter(isMatch);

			finder.Visit(expression);

			return finder.count;
		}