Skip to main content
A newer version of this page is available. .

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.v18.2.dll

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