Class SyncEntity
OptimaJet.Workflow.Core.Entities.SyncEntity
Represents persisted synchronization state used to coordinate timer scheduling among WorkflowRuntime instances.
Namespace: OptimaJet.Workflow.Core.Entities
public class SyncEntity : IEntityType Hierarchy
- SyncEntity Current type
- Implemented interfaces
Properties
public string Name { get; set; } #Gets or sets the name that identifies the synchronization record.
public Guid Lock { get; set; } #Gets or sets the optimistic-concurrency token for the synchronization record.
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
valueObjectThe value to assign. A value for SyncEntity.Lock must be a Guid; a value that is not a string for SyncEntity.Name is assigned as null.
Exceptions
Type
Description
ColumnNotExistsExceptionkey does not match the name of a supported property.InvalidCastExceptionNullReferenceException