public void Add( string fieldName, OrderBydBDirections orderDirection )
Parameters
- fieldName
- The name of the column/field to sequence.
- orderDirection
- The required sequence.
public void Add( string fieldName, OrderBydBDirections orderDirection )
Symphony.dB.DBAccess orderAccess = new DBAccess("ORDER", "DATABASE:DatabaseManager"); OrderBydB OrderSequence = new OrderBydB("order_date", OrderBydBDirections.Asc); OrderSequence.Add("order_value", OrderBydBDirections.Desc); foreach (string order in orderAccess.Select(OrderSequence)) { }
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