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

Declaration

public Column SelectExpression(
    string expression,
    AggregationType aggregationType,
    string alias
)
Public Function SelectExpression(
    expression As String,
    aggregationType As AggregationType,
    alias As String
) As Column

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