Hi Gonzalo.
Thanks for your reply, i understand what you say, but my doubt comes due the need of having all the fields into the same class. I need to have all the updatable fields from reservations plus the read-only status field, ll them in the same class Reservation.
How can i do this? Or
How should i do this?
I have the Reservation class mapped to the reservations table, and now i have a view with the reservation_id and the reservation_status.
Maybe adding a new ReservationStatus class mapped to the view and adding a ReservationStatus member to my Reservation class? But the view has not id, only the reservation_id
Have any idea?
|