/// <summary> /// Create a new Picture object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="toolTip">Initial value of the ToolTip property.</param> /// <param name="imageUrl">Initial value of the ImageUrl property.</param> /// <param name="photoAlbumId">Initial value of the PhotoAlbumId property.</param> public static Picture CreatePicture(global::System.Int32 id, global::System.String description, global::System.String toolTip, global::System.String imageUrl, global::System.Int32 photoAlbumId) { Picture picture = new Picture(); picture.Id = id; picture.Description = description; picture.ToolTip = toolTip; picture.ImageUrl = imageUrl; picture.PhotoAlbumId = photoAlbumId; return picture; }
/// <summary> /// Deprecated Method for adding a new object to the Picture EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPicture(Picture picture) { base.AddObject("Picture", picture); }