Exemplo n.º 1
0
 /// <summary>
 /// Specifies that in addition to the usual rows provided by GROUP BY, summary rows are introduced into the result set. A GROUP BY summary row is returned for every possible combination of group and subgroup in the result set.
 /// </summary>
 /// <param name="prev">Is a predecessor object.</param>
 public static WithCubeChainer WithCube(this IWithCube prev)
 {
     return(new WithCubeChainer((Chainer)prev, false));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Specifies that in addition to the usual rows provided by GROUP BY, summary rows are introduced into the result set. Groups are summarized in a hierarchical order, from the lowest level in the group to the highest. The group hierarchy is determined by the order in which the grouping columns are specified.
 /// </summary>
 /// <param name="prev">Is a predecessor object.</param>
 public static WithCubeChainer WithRollup(this IWithCube prev)
 {
     return(new WithCubeChainer((Chainer)prev, true));
 }