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

SelectQuery.SelectColumn(Table, String, AggregationType, String) Method

Selects a specified column from a required data table by specifying an aggregate function and column alias.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v18.2.dll

Declaration

public Column SelectColumn(
    Table table,
    string columnName,
    AggregationType aggregate,
    string alias
)

Parameters

Name Type Description
table Table

A Table to which the obtained column belongs.

columnName String

A String value, specifying the column name.

aggregate AggregationType

An AggregationType enumeration value.

alias String

A String value, specifying the column alias.

Returns

Type Description
Column

A Column object.

See Also