/// <summary> /// Deprecated Method for adding a new object to the BookingConfirmations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBookingConfirmations(BookingConfirmation bookingConfirmation) { base.AddObject("BookingConfirmations", bookingConfirmation); }
/// <summary> /// Create a new BookingConfirmation object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static BookingConfirmation CreateBookingConfirmation(global::System.Int32 id) { BookingConfirmation bookingConfirmation = new BookingConfirmation(); bookingConfirmation.Id = id; return bookingConfirmation; }