Skip to main content

SelectQuery.SelectExpression(String, String) Method

Returns a column with a specified alias that includes rows selected based on the required expression.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public Column SelectExpression(
    string expression,
    string alias
)

Parameters

Name Type Description
expression String

A String value, specifying the SQL expression.

alias String

A String value, specifying the column alias (display name).

Returns

Type Description
Column

A Column object.

See Also