/// <summary> /// Create a new Theater object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="country">Initial value of the Country property.</param> public static Theater CreateTheater(global::System.Int32 id, global::System.String name, global::System.String city, global::System.String country) { Theater theater = new Theater(); theater.ID = id; theater.Name = name; theater.City = city; theater.Country = country; return theater; }
/// <summary> /// Deprecated Method for adding a new object to the Theaters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTheaters(Theater theater) { base.AddObject("Theaters", theater); }