Beispiel #1
0
        /// <summary>
        /// Create a new booking object.
        /// </summary>
        /// <param name="checkin_date">Initial value of the checkin_date property.</param>
        public static booking Createbooking(global::System.DateTime checkin_date)
        {
            booking booking = new booking();

            booking.checkin_date = checkin_date;
            return(booking);
        }
Beispiel #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);
 }