SelectQuery.SelectExpression(String, AggregationType, String) Method
Returns a column with a specified alias that includes rows selected based on a required expression and aggregate function.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.1.dll
NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap
Declaration
public Column SelectExpression(
string expression,
AggregationType aggregationType,
string alias
)
Parameters
Name | Type | Description |
---|---|---|
expression | String | A String value, specifying the query expression. |
aggregationType | AggregationType | An AggregationType enumeration value. |
alias | String | A String value, specifying the column alias. |
Returns
Type | Description |
---|---|
Column | A Column object. |
See Also