Skip to main content

SortingInfoList.Add(String, String, SortingInfo.SortingDirection) Method

Adds a new SortingInfo object to the SortingInfoList collection based on the table/column names and sorting direction.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v22.2.dll

NuGet Package: DevExpress.DataAccess


public void Add(
    string table,
    string column,
    SortingInfo.SortingDirection direction


Name Type Description
table String

A String value that specifies the table name.

column String

A String value that specifies the name of the column by whose values the result set is sorted.

direction SortingInfo.SortingDirection

A SortingDirection object that specifies the sort order.

See Also