Пример #1
0
 /// <summary>
 /// Create a new Artist object.
 /// </summary>
 /// <param name="artistId">Initial value of the ArtistId property.</param>
 public static Artist CreateArtist(global::System.Int32 artistId)
 {
     Artist artist = new Artist();
     artist.ArtistId = artistId;
     return artist;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Artists EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToArtists(Artist artist)
 {
     base.AddObject("Artists", artist);
 }