コード例 #1
0
 public virtual void UpdateInstance(IWorkflowInstance instance)
 {
     EntityEventManager.RaiseEvent <IWorkflowInstance>(EventStep.Before, EventType.Update, instance);
     InstanceService.Update(instance);
     EntityEventManager.RaiseEvent <IWorkflowInstance>(EventStep.After, EventType.Update, instance);
     WorkflowInstanceLog(instance, "更新");
 }