예제 #1
0
 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);
 }
예제 #2
0
파일: SqlVisitor.cs 프로젝트: zyj0021/ALinq
 internal virtual SqlExpression VisitGrouping(SqlGrouping g)
 {
     g.Key   = this.VisitExpression(g.Key);
     g.Group = this.VisitExpression(g.Group);
     return(g);
 }
예제 #3
0
 internal override SqlExpression VisitGrouping(SqlGrouping g)
 {
     return(new SqlGrouping(g.ClrType, g.SqlType, this.VisitExpression(g.Key), this.VisitExpression(g.Group), g.SourceExpression));
 }