SelectQuery.SelectColumn(Table, String, AggregationType, String) Method
In This Article
Selects a specified column from a required data table by specifying an aggregate function and column alias.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#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. |
column |
String | A String value, specifying the column name. |
aggregate | Aggregation |
An Aggregation |
alias | String | A String value, specifying the column alias. |
#Returns
Type | Description |
---|---|
Column | A Column object. |
See Also