--- substitutions: method: |- ```{image} /img/code_reference/net_library/method.ico ``` prop: |- ```{image} /img/code_reference/net_library/prop.ico ``` --- # 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 ```{code-block} CSharp :linenos: public class SearchOptions ``` The SearchOptions type exposes the following members. ## Constructors | Name | Description | |----------------------------|--------------------------------------------------------| | {{method}} SearchOptions() | Initializes a new instance of the SearchOptions class. | ## Properties | Type | Name | Description | |--------------------------------------|--------|------------------------------------------------------------------------------------------| | {{prop}} Dictionary\ | Keys | The reference properties for searching the item which uniquely identifies the Entity. | | {{prop}} IEnumerable\ | Expand | The Navigation property name(s) which should be expanded. | | {{prop}} IEnumerable\ | 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** - [powerGate.Erp.Client namespace]()