public string Start(string identification) { WorkflowDesignService workflowDesignService = new WorkflowDesignService(); WorkflowStructure structure = workflowDesignService.GetWorkflowStructure(identification); return(context.Start(structure.STRUCTUREXML)); }
public void Update(WorkflowStructure workflowStructure) { string sql = " UPDATE T_STRUCTURE SET APPELLATION=@APPELLATION,STRUCTUREXML=@STRUCTUREXML WHERE IDENTIFICATION=@IDENTIFICATION "; Connection.Execute(sql, workflowStructure); }
public void Persistent(WorkflowStructure workflowStructure) { string sql = " INSERT INTO T_STRUCTURE(IDENTIFICATION,APPELLATION,STRUCTUREXML) VALUES(@IDENTIFICATION,@APPELLATION,@STRUCTUREXML) "; Connection.Execute(sql, workflowStructure); }