Visit() protected method

protected Visit ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression
Exemplo n.º 1
0
        public static int Hash(Expression expression, SqlExpressionComparerOptions options)
        {
            var hasher = new SqlExpressionHasher
            {
                options = options
            };

            hasher.Visit(expression);

            return(hasher.hashCode);
        }
Exemplo n.º 2
0
        public static int Hash(Expression expression, bool ignoreConstantPlaceholderValues)
        {
            var hasher = new SqlExpressionHasher
            {
                ignoreConstantPlaceholderValues = ignoreConstantPlaceholderValues
            };

            hasher.Visit(expression);

            return(hasher.hashCode);
        }
Exemplo n.º 3
0
        public static int Hash(Expression expression, SqlExpressionComparerOptions options)
        {
            if (expression == null)
            {
                return(0);
            }

            var hasher = new SqlExpressionHasher(options);

            hasher.Visit(expression);

            return(hasher.hashCode);
        }
Exemplo n.º 4
0
		public static int Hash(Expression expression, SqlExpressionComparerOptions options)
		{
			if (expression == null)
			{
				return 0;
			}

			var hasher = new SqlExpressionHasher(options);

			hasher.Visit(expression);

			return hasher.hashCode;
		}