/// <summary> /// Deprecated Method for adding a new object to the Playlists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPlaylists(Playlist playlist) { base.AddObject("Playlists", playlist); }
/// <summary> /// Create a new Playlist object. /// </summary> /// <param name="playlistId">Initial value of the PlaylistId property.</param> public static Playlist CreatePlaylist(global::System.Int32 playlistId) { Playlist playlist = new Playlist(); playlist.PlaylistId = playlistId; return playlist; }