Exemple #1
0
        /// <summary>
        /// 绑定Grid
        /// </summary>
        public override void BindGrid()
        {
            CLSListRule rule = new CLSListRule();

            gridView1.GridControl.DataSource = rule.RShow(HTDataConditionStr, ProcessGrid.GetQueryField(gridView1));
            gridView1.GridControl.Show();
        }
Exemple #2
0
        /// <summary>
        /// 删除
        /// </summary>
        public override void EntityDelete()
        {
            CLSListRule rule   = new CLSListRule();
            CLSList     entity = EntityGet();

            rule.RDelete(entity);
        }
Exemple #3
0
        /// <summary>
        /// 新增
        /// </summary>
        public override int EntityAdd()
        {
            CLSListRule rule   = new CLSListRule();
            CLSList     entity = EntityGet();

            rule.RAdd(entity);
            return(entity.ID);
        }