Esempio n. 1
0
        /// <summary>
        /// 生成 很纯洁的 实体对象
        /// </summary>
        /// <returns></returns>
        public T_Permission ToPOCO()
        {
            T_Permission poco = new T_Permission()
            {
                PerId         = this.PerId,
                PerName       = this.PerName,
                PerParent     = this.PerParent,
                PerActionName = this.PerActionName,
                PerAreaName   = this.PerAreaName,
                PerController = this.PerController,
                PerFormMethod = this.PerFormMethod,
                PerIsShow     = this.PerIsShow,
                PerIco        = this.PerIco
            };

            return(poco);
        }
Esempio n. 2
0
 /// <summary>
 /// 生成 很纯洁的 实体对象
 /// </summary>
 /// <returns></returns>
 public T_Permission ToPOCO()
 {
     T_Permission poco = new T_Permission()
     {
         PerId = this.PerId,
         PerName = this.PerName,
         PerParent = this.PerParent,
         PerActionName=this.PerActionName,
         PerAreaName = this.PerAreaName,
         PerController = this.PerController,
         PerFormMethod = this.PerFormMethod,
         PerIsShow = this.PerIsShow,
         PerIco=this.PerIco
     };
     return poco;
 }