OrderBy Class
Specifies options to use for ordering ERP entities.
Namespace: powerGate.Erp.Client
Assembly: powerGate.Erp.Client.dll
Inheritance Hierarchy
System.Object
powerGate.Erp.Client.OrderBy
Syntax
1 | public class OrderBy |
The OrderBy type exposes the following members.
Constructors
Name |
Description |
---|---|
OrderBy(string propertyName, OrderDirection? direction = null) |
Initializes a new instance of the OrderBy class by passing the property name that should be ordered. |
Properties
Types |
Name |
Description |
---|---|---|
string |
PropertyName |
The property used to order a collection of entities. |
Direction |
Nullable. The order of a sequence (ascending or descending). |
Remarks
When the OrderDirection property is not set, the entities are ordered in the direction defined on the Erp-side (this should be ascending order by default).
See also
Reference