Removes select expressions that don't add any additional semantic value
Наследование: Shaolinq.Persistence.Linq.Expressions.SqlExpressionVisitor
Пример #1
0
        public static Expression Remove(Expression expression)
        {
            expression = new SqlRedundantSubqueryRemover().Visit(expression);
            expression = SubqueryMerger.Merge(expression);

            return(expression);
        }
		public static Expression Remove(Expression expression)
		{
			expression = new SqlRedundantSubqueryRemover().Visit(expression);
			expression = SubqueryMerger.Merge(expression);

			return expression;
		}