internal override SqlExpression VisitGrouping(SqlGrouping g) { //if (sqlNamer.mode == SqlProvider.ProviderMode.Firebird || // sqlNamer.mode == SqlProvider.ProviderMode.Oracle) //{ // g.Key = VisitNamedExpression(g.Key, "\"Key\""); // g.Group = this.VisitNamedExpression(g.Group, "\"Group\""); //} //else //{ g.Key = this.VisitNamedExpression(g.Key, ConstColumns.Key); //"Key"); g.Group = this.VisitNamedExpression(g.Group, ConstColumns.Group); // "Group"); //} return(g); }
internal virtual SqlExpression VisitGrouping(SqlGrouping g) { g.Key = this.VisitExpression(g.Key); g.Group = this.VisitExpression(g.Group); return(g); }
internal override SqlExpression VisitGrouping(SqlGrouping g) { return(new SqlGrouping(g.ClrType, g.SqlType, this.VisitExpression(g.Key), this.VisitExpression(g.Group), g.SourceExpression)); }