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

Declaration

public Column SelectColumn(
    Table table,
    string columnName,
    AggregationType aggregate,
    string alias
)
Public Function SelectColumn(
    table As Table,
    columnName As String,
    aggregate As AggregationType,
    alias As String
) As Column

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