Example #1
0
        /// <summary>
        /// 修改
        /// </summary>
        public override void EntityUpdate()
        {
            MLYLRule rule   = new MLYLRule();
            MLYL     entity = EntityGet();

            rule.RUpdate(entity);
        }
Example #2
0
        /// <summary>
        /// 绑定Grid
        /// </summary>
        public override void BindGrid()
        {
            MLYLRule rule = new MLYLRule();

            gridView1.GridControl.DataSource = rule.RShow(HTDataConditionStr, ProcessGrid.GetQueryField(gridView1));
            gridView1.GridControl.Show();
        }
Example #3
0
        /// <summary>
        /// 新增
        /// </summary>
        public override int EntityAdd()
        {
            MLYLRule rule   = new MLYLRule();
            MLYL     entity = EntityGet();

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