/// <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="name">Initial value of the Name property.</param> /// <param name="imageSource">Initial value of the ImageSource property.</param> public static Album CreateAlbum(global::System.Int32 id, global::System.String title, global::System.String name, global::System.String imageSource) { Album album = new Album(); album.Id = id; album.Title = title; album.Name = name; album.ImageSource = imageSource; return album; }
/// <summary> /// Deprecated Method for adding a new object to the Album EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAlbum(Album album) { base.AddObject("Album", album); }