SearchOptions Class
Specifies options to use for retrieving a single entity from ERP.
Namespace: powerGate.Erp.Client
Assembly: powerGate.Erp.Client.dll
Inheritance Hierarchy
System.Object
powerGate.Erp.Client.SearchOptions
Syntax
1 | public class SearchOptions |
The SearchOptions type exposes the following members.
Constructors
Name |
Description |
---|---|
SearchOptions() |
Initializes a new instance of the SearchOptions class. |
Properties
Type |
Name |
Description |
---|---|---|
Dictionary<string, object> |
Keys |
The reference properties for searching the item which uniquely identifies the Entity. |
IEnumerable<string> |
Expand |
The Navigation property name(s) which should be expanded. |
IEnumerable<string> |
Select |
Specifiy the properties which should be explicitly requested and returned by the client. |
Remarks
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