Skip to main content

SelectQueryFluentBuilder.SortBy(String[]) Method

Sorts the result set by specified columns. These columns are obtained from the last table added by the SelectQueryFluentBuilder.AddTable or SelectQueryFluentBuilder.Join method.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.2.dll

Declaration

public SelectQueryFluentBuilder SortBy(
    params string[] columnNames
)

Parameters

Name Type Description
columnNames String[]

An array of String values, specifying the column names.

Returns

Type Description
SelectQueryFluentBuilder

A SelectQueryFluentBuilder object.

See Also