Class ProcessInstancePersistenceEntity
OptimaJet.Workflow.Core.Entities.ProcessInstancePersistenceEntity
Represents a persistence record containing the serialized value of a process instance parameter.
Namespace: OptimaJet.Workflow.Core.Entities
public class ProcessInstancePersistenceEntity : IEntityType Hierarchy
- ProcessInstancePersistenceEntity Current type
- Implemented interfaces
Properties
public Guid Id { get; set; } #Gets or sets the identifier of the persistence record.
public Guid ProcessId { get; set; } #Gets or sets the identifier of the process instance that owns the persisted parameter.
public string ParameterName { get; set; } #Gets or sets the name of the persisted parameter.
public string Value { get; set; } #Gets or sets the serialized value of the persisted parameter.
Methods
public object GetValue(string key) #Gets the value of the property identified by
key.Parameters
Name
Type
Description
Returns
Type
Description
ObjectThe value of the property selected by
key.Exceptions
Type
Description
ColumnNotExistsExceptionkey does not match the name of a supported property.public void SetValue(string key, object value) #Sets the value of the property identified by
key.Parameters
Name
Type
Description
keyStringvalueObjectThe value to assign. Values for ProcessInstancePersistenceEntity.Id and ProcessInstancePersistenceEntity.ProcessId must be a Guid; a value for ProcessInstancePersistenceEntity.ParameterName, ProcessInstancePersistenceEntity.Value, or ProcessInstancePersistenceEntity.TenantId that is not a string is assigned as null.
Exceptions
Type
Description
ColumnNotExistsExceptionkey does not match the name of a supported property.InvalidCastExceptionkey identifies ProcessInstancePersistenceEntity.Id or ProcessInstancePersistenceEntity.ProcessId, and value is not null and is not a Guid.NullReferenceExceptionkey identifies ProcessInstancePersistenceEntity.Id or ProcessInstancePersistenceEntity.ProcessId, and value is null.