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