コード例 #1
0
        /// <summary>
        /// 获取指定权限的详细信息
        /// </summary>
        /// <param name="actionid"></param>
        public ActionBLL(int actionid)
            : base()
        {
            _actionid = -1;
            ActionDAL dal = new ActionDAL(connectionString);

            RADinfo_MIS_COST.Model.Action model = dal.GetDetails(actionid);
            if (model != null)
            {
                _actionid       = model.ActionId;
                _actionname     = model.ActionName;
                _actionstr      = model.ActionStr;
                _actioncolumnid = model.ActionColumnid;
                _link           = model.Link;
            }
        }