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