Exemple #1
0
        /// <summary>
        /// 删除
        /// </summary>
        public override void EntityDelete()
        {
            AuthGrpRule rule   = new AuthGrpRule();
            AuthGrp     entity = EntityGet();

            rule.RDelete(entity);
        }
Exemple #2
0
        /// <summary>
        /// 删除
        /// </summary>
        public override void EntityDelete()
        {
            if (txtID.Text.Trim() == "1")
            {
                throw new Exception("ID为1的权限不允许编辑");
            }
            AuthGrpRule rule   = new AuthGrpRule();
            AuthGrp     entity = EntityGet();

            rule.RDelete(entity);
        }