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