Exemplo n.º 1
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;
		}