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