QueryOptions Class
Specifies options to use for searching entities in ERP.
Namespace: powerGate.Erp.Client
Assembly: powerGate.Erp.Client.dll
Inheritance Hierarchy
System.Object
 powerGate.Erp.Client.QueryOptions
Syntax
1 | public class QueryOptions  | 
The QueryOptions type exposes the following members.
Constructors
Name  | 
Description  | 
|---|---|
  | 
Initializes a new instance of the QueryOptions class.  | 
Properties
Type  | 
Name  | 
Description  | 
|---|---|---|
  | 
Expand  | 
The Navigation property name(s) which should be expanded.  | 
  | 
Filter  | 
The OData filter which will be executed.  | 
  | 
OrderBy  | 
The order of the Item’s. They can be ordered by the property name and/or direction.  | 
  | 
Select  | 
Specifiy the properties which should be explicitly requested and returned by the client.  | 
  | 
Top  | 
The amount of items which should be returned.  | 
Remarks
The Filter property allows you to specify a filter with OData syntax. More informations about the OData Filter syntax can be found here.
The OrderBy property allows you to order the list of entities by property name(s) and/or direction (Ascending or Descending).
The Expand property allows you to expand multiple navigation properties. By default, when the expand property is not specified then most Erp-systems reurn the entity without navigation properties.
The Select property lets you receive only those properties which you want to have in the result.
See also
Reference