Sql.Net Class Library Documentation

SelectQuery.GroupByWithCube Property

Gets or sets the group by with cube option for the query. Not supported by all databases.

public bool GroupByWithCube {get; set;}


GroupByWithCube property is only relevant for queries which perform group by and have aggregation columns. When GroupByWithCube is true the result set will include additional rows with sub total information. GroupByWithCube even more data then GroupByWithRollup. Consult SQL documentation for more details.

Important! Not all databases support this option.

See Also

SelectQuery Class | Reeb.SqlOM Namespace