Пример #1
0
        /// <summary>
        /// 删除
        /// </summary>
        public override void EntityDelete()
        {
            CheckContentRule rule   = new CheckContentRule();
            CheckContent     entity = EntityGet();

            rule.RDelete(entity);
        }
Пример #2
0
        /// <summary>
        /// 绑定Grid
        /// </summary>
        public override void BindGrid()
        {
            CheckContentRule rule = new CheckContentRule();

            gridView1.GridControl.DataSource = rule.RShow(HTDataConditionStr, ProcessGrid.GetQueryField(gridView1));
            gridView1.GridControl.Show();
        }
Пример #3
0
        /// <summary>
        /// 修改
        /// </summary>
        public override void EntityUpdate()
        {
            CheckContentRule rule   = new CheckContentRule();
            CheckContent     entity = EntityGet();

            CheckContentDts[] entitydts = EntityDtsGet();
            entity.SubmitFlag = this.HTSubmitFlagUpdateGet();
            rule.RUpdate(entity, entitydts);
        }
Пример #4
0
        /// <summary>
        /// 新增
        /// </summary>
        public override int EntityAdd()
        {
            CheckContentRule rule   = new CheckContentRule();
            CheckContent     entity = EntityGet();

            CheckContentDts[] entitydts = EntityDtsGet();

            entity.SubmitFlag = this.HTSubmitFlagInsertGet();
            rule.RAdd(entity, entitydts);
            return(entity.ID);
        }