Platform Core .NET Assemblies API
OrderBy(OrderDirectionStrict,IQueryColumnExpressionConvertible) Method
See Also  Send Feedback
Terrasoft.Core.DB Namespace > Query Class > OrderBy Method : OrderBy(OrderDirectionStrict,IQueryColumnExpressionConvertible) Method
direction
The sorting order for the query results.
expression
The expression whose value is used as the sort key.

Glossary Item Box

Sorts the query results in the specified order, using the value of the passed-in expression as the sort key.

Syntax

 
C#
 
 

Parameters

direction
The sorting order for the query results.
expression
The expression whose value is used as the sort key.

Return Value

The current Query instance.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.