/// <summary> /// Create a new Artist object. /// </summary> /// <param name="artistId">Initial value of the ArtistId property.</param> /// <param name="name">Initial value of the Name property.</param> public static Artist CreateArtist(global::System.Int32 artistId, global::System.String name) { Artist artist = new Artist(); artist.ArtistId = artistId; artist.Name = name; return artist; }
/// <summary> /// Deprecated Method for adding a new object to the Artists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToArtists(Artist artist) { base.AddObject("Artists", artist); }