/// <summary> /// Deprecated Method for adding a new object to the TourDates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTourDates(TourDate tourDate) { base.AddObject("TourDates", tourDate); }
/// <summary> /// Create a new TourDate object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="artistID">Initial value of the ArtistID property.</param> /// <param name="date">Initial value of the Date property.</param> public static TourDate CreateTourDate(global::System.Int32 id, global::System.Int32 artistID, global::System.DateTime date) { TourDate tourDate = new TourDate(); tourDate.ID = id; tourDate.ArtistID = artistID; tourDate.Date = date; return tourDate; }