예제 #1
0
 public static UserRole FindByUserIdAndRoleId(int userId, int roleId, Connection connection, MySqlTransaction transaction = null)
 {
     using (var dao = new UserRoleDAO(connection))
     {
         return(dao.FindByUserIdAndRoleId(userId, roleId));
     }
 }