/// <summary> /// Create a new reservation object. /// </summary> /// <param name="reservation_id">Initial value of the reservation_id property.</param> /// <param name="room_id">Initial value of the room_id property.</param> public static reservation Createreservation(global::System.Int32 reservation_id, global::System.Int32 room_id) { reservation reservation = new reservation(); reservation.reservation_id = reservation_id; reservation.room_id = room_id; return reservation; }
/// <summary> /// Deprecated Method for adding a new object to the reservations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToreservations(reservation reservation) { base.AddObject("reservations", reservation); }