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