protected internal virtual Expression VisitCommandAggregate(CommandAggregateExpression cea) { var commands = VisitCommands(cea.Commands); if (cea.Commands != commands) { return(new CommandAggregateExpression(commands)); } return(cea); }
protected internal override Expression VisitCommandAggregate(CommandAggregateExpression cea) { for (int i = 0, n = cea.Commands.Count; i < n; i++) { CommandExpression command = cea.Commands[i]; if (i > 0) { sb.Append(";"); this.AppendNewLine(Indentation.Same); } this.Visit(command); } return(cea); }
protected internal override Expression VisitCommandAggregate(CommandAggregateExpression cea) { using (InSql()) return(base.VisitCommandAggregate(cea)); }
protected virtual bool CompareCommandAggregate(CommandAggregateExpression a, CommandAggregateExpression b) { return(CompareList(a.Commands, b.Commands, Compare)); }