In general, it is always best to avoid a codeshare booking when possible. Less chance of ticketing issues, schedule change weirdness with partner flights, etc. Especially if there is not a significant price difference or mileage earning factor. I'd say book directly with Alaska.