Class OrderBy
- Namespace
- SWConfigDataClientLib.Data
- Assembly
- IpPbxCDSClientLib.dll
This class represents a item attribute resp. a table column. This class correspondig item (table) is sortable by this attribute.
public class OrderBy : SObject
- Inheritance
-
OrderBy
- Inherited Members
Constructors
OrderBy()
Contructor
public OrderBy()
OrderBy(string)
Contructor for columns with ascending order.
public OrderBy(string columnName)
Parameters
columnName
stringThe name of the sortable data table column.
OrderBy(string, bool)
Contructor
public OrderBy(string columnName, bool ascending)
Parameters
columnName
stringThe name of the sortable data table column.
ascending
boolIf true the sort direction is ascending. If false the sort direction is descending.
Fields
ascending
Sort direction is ascending.
protected bool ascending
Field Value
columnName
The name of the sortable data table column.
protected string columnName
Field Value
Properties
Ascending
Gets and Sets the Ascending property. The propertry defines the sorting direction.
public bool Ascending { get; set; }
Property Value
ColumnName
Gets the ColumnName property. The Property contains the name of the sortable data table column.
public string ColumnName { get; }
Property Value
Methods
Equals(object)
Determines whether two Object instances are equal.
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table
public override int GetHashCode()
Returns
- int
A hash code for the current Object.