Class SortCriterion
A class which describes a criteria by which a query will be sorted.
Inheritance
System.Object
SortCriterion
Namespace: MESL.SqlRace.Domain.Query
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class SortCriterion : Object
Constructors
SortCriterion(String, SortOrder)
Initialises a new instance of the Sort
Declaration
public SortCriterion(string itemName, SortOrder sortOrder)
Parameters
Type | Name | Description |
---|---|---|
System. |
itemName | Name of the item by which to sort. |
Sort |
sortOrder | The sort direction. |
Properties
Item
Gets the sort item.
Declaration
public string Item { get; }
Property Value
Type | Description |
---|---|
System. |
Order
Gets the sort order.
Declaration
public SortOrder Order { get; }
Property Value
Type | Description |
---|---|
Sort |
Methods
ToString()
Returns a System.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
A System. |