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

Declaration

public SelectQueryFluentBuilder SortBy(
    params string[] columnNames
)
Public Function SortBy(
    ParamArray columnNames As String()
) As SelectQueryFluentBuilder

Parameters

Name Type Description
columnNames String[]

An array of String values, specifying the column names.

Returns

Type Description
SelectQueryFluentBuilder

A SelectQueryFluentBuilder object.

See Also