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

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

            rule.RDelete(entity);
        }
示例#3
0
        /// <summary>
        /// 新增
        /// </summary>
        public override int EntityAdd()
        {
            FormNCVendorRule rule   = new FormNCVendorRule();
            FormNCVendor     entity = EntityGet();

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