EasyObjects.NET Programmers Reference

DynamicQuery.AddOrderBy Method

Adds an ORDER BY clause to the query. If you want to order the data by two columns you will need to call this method twice.

Overload List

Adds an ORDER BY clause to the query using aggregates. Derived classes implement this, like SqlServerDynamicQuery and OracleDynamicQuery to account for differences in DBMS systems.

public abstract void AddOrderBy(AggregateParameter,Dir);

Adds an ORDER BY clause to the query using COUNT(*). Used with Query.CountAll set to true. Derived classes implement this, like SqlServerDynamicQuery and OracleDynamicQuery to account for differences in DBMS systems.

public abstract void AddOrderBy(DynamicQuery,Dir);

Adds an ORDER BY clause to the query using the FieldName of the SchemaItem. If you want to order the data by two columns you will need to call this method twice.

public virtual void AddOrderBy(SchemaItem);

Adds an ORDER BY clause to the query using the FieldName of the SchemaItem. If you want to order the data by two columns you will need to call this method twice.

public virtual void AddOrderBy(SchemaItem,Dir);

Adds an ORDER BY clause to the query using the FieldName. If you want to order the data by two columns you will need to call this method twice.

public virtual void AddOrderBy(string,Dir);

See Also

DynamicQuery Class | NCI.EasyObjects Namespace