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

Declaration

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

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