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

SelectQueryFluentBuilder.SortBy(String) Method

Sorts the result set by a specified column. This column is obtained from the last table added by the SelectQueryFluentBuilder.AddTable or SelectQueryFluentBuilder.Join method.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v20.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.WindowsDesktop.DataAccess

Declaration

public SelectQueryFluentBuilder SortBy(
    string columnName
)

Parameters

Name Type Description
columnName String

A String value, specifying the column name.

Returns

Type Description
SelectQueryFluentBuilder

A SelectQueryFluentBuilder object.

See Also