TSQLOrderField.Create Constructor
Overloads
TSQLOrderField.Create(TSQLTable, string)
Creates a TSQLOrderField with no direction set (defaults to ascending).
Syntax
Unit: Aurelius.Sql.BaseTypes
constructor TSQLOrderField.Create(Table: TSQLTable; const Field: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Table | TSQLTable | The table descriptor that owns this column. | |
| const | Field | string | The column name to sort by. |
See also
TSQLOrderField.Create(TSQLTable, string, TOrderDirection)
Creates a TSQLOrderField with the specified sort direction.
Syntax
Unit: Aurelius.Sql.BaseTypes
constructor TSQLOrderField.Create(Table: TSQLTable; const Field: string; Direction: TOrderDirection);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Table | TSQLTable | The table descriptor that owns this column. | |
| const | Field | string | The column name to sort by. |
| Direction | TOrderDirection | The sort direction to apply in the ORDER BY clause. |