Beispiel #1
0
 /// <summary>
 /// 更新角色
 /// </summary>
 /// <param name="businessRoleDomain"></param>
 /// <returns></returns>
 public virtual bool UpdateBusinessRoleDomain(BusinessRoleDomain businessRoleDomain)
 {
     SecRoleEntity SecRoleEntity = new SecRoleEntity();
     SecRoleEntity = businessRoleDomain.SecRoleEntity;
     bool updateResult = Update(SecRoleEntity);
     return updateResult;
 }
Beispiel #2
0
 /// <summary>
 /// 新增角色
 /// </summary>
 /// <param name="businessRoleDomain"></param>
 /// <returns></returns>
 public virtual bool InsertBusinessRoleDomain(BusinessRoleDomain businessRoleDomain)
 {
     SecRoleEntity SecRoleEntity = new SecRoleEntity();
     SecRoleEntity = businessRoleDomain.SecRoleEntity;
     bool insertResult = Insert(SecRoleEntity);
     return insertResult;
 }