Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Albums EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAlbums(Album album)
 {
     base.AddObject("Albums", album);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Album object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 public static Album CreateAlbum(global::System.String id, global::System.String title, global::System.DateTime lastUpdated)
 {
     Album album = new Album();
     album.Id = id;
     album.Title = title;
     album.LastUpdated = lastUpdated;
     return album;
 }