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