Esempio n. 1
0
 //异步?
 public virtual void Send(MessageEntity message)
 {
     message.Insert();
     if (context.Impl.Context.ProcessEngineConfiguration.HintJobExecutor)
     {
         HintJobExecutor(message);
     }
 }
            public JobEntity Execute(CommandContext commandContext)
            {
                MessageEntity jobEntity = new MessageEntity();

                jobEntity.Id = JOB_ENTITY_ID;
                jobEntity.Insert();

                return(jobEntity);
            }