/// <summary> /// Create a new ArtistGenre object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="artistID">Initial value of the ArtistID property.</param> /// <param name="genreID">Initial value of the GenreID property.</param> public static ArtistGenre CreateArtistGenre(global::System.Int32 id, global::System.Int32 artistID, global::System.Int32 genreID) { ArtistGenre artistGenre = new ArtistGenre(); artistGenre.ID = id; artistGenre.ArtistID = artistID; artistGenre.GenreID = genreID; return artistGenre; }
/// <summary> /// Deprecated Method for adding a new object to the ArtistGenres EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToArtistGenres(ArtistGenre artistGenre) { base.AddObject("ArtistGenres", artistGenre); }