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<string, object>
  powerGate.Erp.Client.ErpObject

Syntax

1
public class ErpObject : Dictionary<string, object>

The ErpObject type exposes the following members.

Properties

Type

Name

Description

../../../_images/prop.ico IErpEntityType

EntityType

Gets the EntityType of the ErpObject.

Methods

Type

Name

Description

../../../_images/method.ico Dictionary<string, object>

GetKeys()

Returns only the Key properties of the Entity.

../../../_images/method.ico Dictionary<string, object>

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.

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