--- myst: substitutions: method: |- ```{image} /img/code_reference/net_library/method.ico ``` prop: |- ```{image} /img/code_reference/net_library/prop.ico ``` --- # ErpObject Class Provides the data for the ERP entity. **Namespace:** powerGate.Erp.Client\ **Assembly:** powerGate.Erp.Client.dll ## Inheritance Hierarchy [System.Object]()\  [System.Collections.Generic.Dictionary\]()\   **powerGate.Erp.Client.ErpObject** ## Syntax ```{code-block} CSharp :linenos: public class ErpObject : Dictionary ``` The ErpObject type exposes the following members. ## Properties | Type | Name | Description | |--------------------------------------------|------------|---------------------------------------| | {{prop}} [IErpEntityType]() | EntityType | Gets the EntityType of the ErpObject. | ## Methods | Type | Name | Description | |----------------------------------------|-----------------|-----------------------------------------------------------------------------------------| | {{method}} Dictionary\ | GetKeys() | Returns only the Key properties of the Entity. | | {{method}} Dictionary\ | GetProperties() | Returns the properties and navigation properties (except Key properties) of the Entity. | ## Remarks The **GetKeys()** function returns a [Dictionary]() of Key properties with its values which uniquely identifies the Entity.\ The **GetProperties()** function returns a [Dictionary]() of properties and navigation properties (except Key properties) of the Entity. :::{admonition} Readonly Results The **GetKeys()** and the **GetProperties()** function result **can not be modified**!\ Instead modifications on the ErpObject will be returned by both methods. ::: ## See also **Reference** - [powerGate.Erp.Client namespace]()