コード例 #1
0
        public virtual void UpdateFromEvent(HistoricVariableUpdateEventEntity historyEvent)
        {
            Id = historyEvent.VariableInstanceId;
            ProcessDefinitionKey = historyEvent.ProcessDefinitionKey;
            ProcessDefinitionId  = historyEvent.ProcessDefinitionId;
            ProcessInstanceId    = historyEvent.ProcessInstanceId;
            TaskId             = historyEvent.TaskId;
            ExecutionId        = historyEvent.ExecutionId;
            ActivityInstanceId = historyEvent.ScopeActivityInstanceId;
            TenantId           = historyEvent.TenantId;
            CaseDefinitionKey  = historyEvent.CaseDefinitionKey;
            CaseDefinitionId   = historyEvent.CaseDefinitionId;
            CaseInstanceId     = historyEvent.CaseInstanceId;
            CaseExecutionId    = historyEvent.CaseExecutionId;
            Name        = historyEvent.VariableName;
            LongValue   = historyEvent.LongValue;
            DoubleValue = historyEvent.DoubleValue;
            TextValue   = historyEvent.TextValue;
            TextValue2  = historyEvent.TextValue2;

            SerializerName = historyEvent.SerializerName;

            byteArrayField.DeleteByteArrayValue();

            if (historyEvent.ByteValue != null)
            {
                ByteArrayValue = (historyEvent.ByteValue);
            }
        }
コード例 #2
0
        //public virtual void setValue(ITypedValue typedValue)
        //{
        //    typedValueField.setValue(typedValue);
        //}


        public virtual void Delete()
        {
            byteArrayField.DeleteByteArrayValue();

            Context.CommandContext.GetDbEntityManager <HistoricDecisionOutputInstanceEntity>().Delete(this);//.DbEntityManager.delete(this);
        }
コード例 #3
0
 protected internal virtual void DeleteByteArrayValue()
 {
     byteArrayField.DeleteByteArrayValue();
 }