/// <summary> /// Create a new BookingCountry object. /// </summary> /// <param name="countryID">Initial value of the CountryID property.</param> public static BookingCountry CreateBookingCountry(global::System.Int32 countryID) { BookingCountry bookingCountry = new BookingCountry(); bookingCountry.CountryID = countryID; return(bookingCountry); }
/// <summary> /// Deprecated Method for adding a new object to the BookingCountries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBookingCountries(BookingCountry bookingCountry) { base.AddObject("BookingCountries", bookingCountry); }