示例#1
0
        public Role CreateRole(RoleBean bean)
        {
            Role beanBack = new Role();

            beanBack.RoleId         = bean.RoleId;
            beanBack.Name           = bean.Name;
            beanBack.Deleted        = bean.Deleted;
            beanBack.Description    = bean.Description;
            beanBack.CreateDateTime = bean.CreateDateTime;
            beanBack.CreateBy       = bean.CreateBy;
            beanBack.UpdateDatetime = bean.UpdateDatetime;
            beanBack.UpdateBy       = bean.UpdateBy;
            return(beanBack);
        }
示例#2
0
        public Role CreateRole(RoleBean bean)
        {
            Role beanBack = new Role();
            beanBack.RoleId = bean.RoleId;
            beanBack.Name = bean.Name;
            beanBack.Deleted = bean.Deleted;
            beanBack.Description = bean.Description;
            beanBack.CreateDateTime = bean.CreateDateTime;
            beanBack.CreateBy = bean.CreateBy;
            beanBack.UpdateDatetime = bean.UpdateDatetime;
            beanBack.UpdateBy = bean.UpdateBy;
            return beanBack;

        }