Removes select expressions that don't add any additional semantic value
Inheritance: Shaolinq.Persistence.Linq.Expressions.SqlExpressionVisitor
コード例 #1
0
        public static Expression Remove(Expression expression)
        {
            expression = new SqlRedundantSubqueryRemover().Visit(expression);
            expression = SubqueryMerger.Merge(expression);

            return(expression);
        }
コード例 #2
0
		public static Expression Remove(Expression expression)
		{
			expression = new SqlRedundantSubqueryRemover().Visit(expression);
			expression = SubqueryMerger.Merge(expression);

			return expression;
		}