# Interface IEntity OptimaJet.Workflow.Core.Entities.IEntity Defines keyed access to property values exposed by a Workflow Engine persistence entity. Namespace: [OptimaJet.Workflow.Core.Entities](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/) ```csharp public interface IEntity ``` ## Type Hierarchy - IEntity Current type - Implementing types - [ApprovalHistoryEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ApprovalHistoryEntity/) - [GlobalParameterEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/GlobalParameterEntity/) - [InboxEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/InboxEntity/) - [ProcessAssignmentEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessAssignmentEntity/) - [ProcessInstanceEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessInstanceEntity/) - [ProcessInstancePersistenceEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessInstancePersistenceEntity/) - [ProcessInstanceStatusEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessInstanceStatusEntity/) - [ProcessInstanceTreeItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessInstanceTreeItem/) - [ProcessSchemeEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessSchemeEntity/) - [ProcessTimerEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessTimerEntity/) - [ProcessTransitionHistoryEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessTransitionHistoryEntity/) - [RuntimeEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/RuntimeEntity/) - [SchemeEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/SchemeEntity/) - [SyncEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/SyncEntity/) - [WorkflowFormEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/WorkflowFormEntity/) ## Methods `object GetValue(string key)` Gets the entity property value associated with the specified key. ### Parameters | Name | Type | Description | | --- | --- | --- | | `key` | `String` | The key that identifies the property. | ### Returns | Type | Description | | --- | --- | | `Object` | The property value associated with `key`. | `void SetValue(string key, object value)` Sets the value of the entity property identified by the specified key. ### Parameters | Name | Type | Description | | --- | --- | --- | | `key` | `String` | The key that identifies the property. | | `value` | `Object` | The value to assign to the property. | [Previous GlobalParameterEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/GlobalParameterEntity/) [Next InboxEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/InboxEntity/)