protected override Expression VisitProjection(ProjectionExpression proj) { // don't parameterize the projector or aggregator! SelectExpression select = (SelectExpression)this.Visit(proj.Select); return(proj.Update(select, proj.Projector, proj.Aggregator)); }
protected override Expression VisitProjection(ProjectionExpression projection) { // visit mapping in reverse order var projector = Visit(projection.Projector); var select = (SelectExpression)Visit(projection.Select); return(projection.Update(select, projector, projection.Aggregator)); }
protected override Expression VisitProjection(ProjectionExpression projectionExpression) { Check.NotNull(projectionExpression, nameof(projectionExpression)); var expression = (SqlExpression)Visit(projectionExpression.Expression); return(projectionExpression.Update(expression)); }
protected override Expression VisitProjection(ProjectionExpression proj) { var projector = Visit(proj.Projector); return(proj.Update(proj.Select, projector, proj.Aggregator)); }
protected override Expression VisitProjection(ProjectionExpression projectionExpression) { var expression = (SqlExpression)Visit(projectionExpression.Expression); return(projectionExpression.Update(expression)); }
protected override Expression VisitProjection(ProjectionExpression x) { return(x?.Update(x.Expression.VisitNode(this))); }
protected override Expression VisitProjection(ProjectionExpression proj) { SelectExpression select = (SelectExpression)this.Visit(proj.Select); return(proj.Update(select, proj.Projector, proj.Aggregator)); }