Example #1
0
 /// <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;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Bookings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBookings(Booking booking)
 {
     base.AddObject("Bookings", booking);
 }