So this works:
SqlParameter reservationNumberParameter = new SqlParameter("@ReservationNumber", SqlDbType.NVarChar, 15);
reservationNumberParameter.Direction = ParameterDirection.Output;
command.Parameters.Add(reservationNumberParameter);
reader = command.ExecuteReader();
reader.Close();
reservationNumber = Convert.ToString(reservationNumberParameter.Value);
Whereas this does not work:
SqlParameter reservationNumberParameter = new SqlParameter("@ReservationNumber", SqlDbType.NVarChar, 15);
reservationNumberParameter.Direction = ParameterDirection.Output;
command.Parameters.Add(reservationNumberParameter);
reader = command.ExecuteReader();
reservationNumber = Convert.ToString(reservationNumberParameter.Value);
reader.Close();