Symphony Framework
OrderBydB Constructor(String,OrderBydBDirections)
Example 
Symphony.dB Namespace > OrderBydB Class > OrderBydB Constructor : OrderBydB Constructor(String,OrderBydBDirections)
The column/field name to perform ordering on.
Specify the required order sequence.
Alternative constructor allows the definition of the order by column and the order sequence.
Syntax

Parameters

fieldName
The column/field name to perform ordering on.
orderDirection
Specify the required order sequence.
Example
Symphony.dB.DBAccess custAccess = new DBAccess("CUSTOMER", "DATABASE:DatabaseManager");
foreach (string customer in custAccess.Select(new OrderBydB("CREDIT_LIMIT", OrderBydBDirections.Desc)))
{

}
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

Reference

OrderBydB Class
OrderBydB Members
Overload List