/// <summary>
        /// 保存流程数据,会删除原有的所有参与者,再保存
        /// </summary>
        /// <param name="workFlowEntity">流程</param>
        /// <param name="participants">所有参与者</param>
        /// <returns></returns>
        /// <remarks></remarks>
        public int Usp_Flow_Insert(CharityPlatform.Entity.WorkFlowEntity workFlowEntity, List<CharityPlatform.Entity.ParticipantEntity> participants)
        {
            this.ExecuteNonQuery("Usp_Flow_Insert", workFlowEntity);

            foreach (var entity in participants)
            {
                entity.I_WorkFlow = workFlowEntity.Id;
                this.ExecuteNonQuery("Usp_Participant_Insert", entity);
            }

            return workFlowEntity.Id;
        }
 public System.Data.DataTable PostTable(CharityPlatform.Entity.PostParameter parameter)
 {
     try
     {
         using (CharityPlatform.Data.AppBLL bll = new CharityPlatform.Data.AppBLL())
         {
             return bll.FillDataTable(parameter.proc, parameter.entity); 
         }
     }
     catch (Exception ex)
     {
         return null;
     }
 }
 public int PostEntity(CharityPlatform.Entity.PostParameter parameter)
 {
     try
     {
         using (CharityPlatform.Data.AppBLL bll = new CharityPlatform.Data.AppBLL())
         {
             return bll.ExecuteNonQuery(parameter.proc, parameter.entity);
         }
     }
     catch (Exception ex)
     {
         return -1;
     }
 }