예제 #1
0
파일: SystemRule.cs 프로젝트: riyuexing/rms
 public static void DeleteUserRole(string UserCode, string RoleCode)
 {
     try
     {
         EntityData entity = SystemManageDAO.GetUserRoleByCode(UserCode, RoleCode);
         if (entity.HasRecord())
         {
             SystemManageDAO.DeleteUserRole(entity);
         }
         entity.Dispose();
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }