C# Class Hd.QueryExtensions.OrderByTerm

Show file Open project: TargetProcess/Tp.HelpDesk Class Usage Examples

Public Methods

Method Description
OrderByTerm ( ) : System

Creates an ORDER BY term

OrderByTerm ( Enum field, FromTerm table, OrderByDirection dir ) : System
OrderByTerm ( string field, FromTerm table, OrderByDirection dir ) : System

Creates an ORDER BY term with field name and table alias

OrderByTerm ( string field, OrderByDirection dir ) : System

Creates an ORDER BY term with field name and no table alias

Method Details

OrderByTerm() public method

Creates an ORDER BY term
public OrderByTerm ( ) : System
return System

OrderByTerm() public method

public OrderByTerm ( Enum field, FromTerm table, OrderByDirection dir ) : System
field System.Enum
table FromTerm
dir OrderByDirection
return System

OrderByTerm() public method

Creates an ORDER BY term with field name and table alias
public OrderByTerm ( string field, FromTerm table, OrderByDirection dir ) : System
field string Name of a field to order by
table FromTerm The table this field belongs to
dir OrderByDirection Order by direction
return System

OrderByTerm() public method

Creates an ORDER BY term with field name and no table alias
public OrderByTerm ( string field, OrderByDirection dir ) : System
field string Name of a field to order by
dir OrderByDirection Order by direction
return System