/// <summary>
 /// Create a new Photo object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="uploadedByUserId">Initial value of the UploadedByUserId property.</param>
 /// <param name="photoAlbumId">Initial value of the PhotoAlbumId property.</param>
 /// <param name="imageName">Initial value of the ImageName property.</param>
 /// <param name="profilePicture">Initial value of the ProfilePicture property.</param>
 /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param>
 /// <param name="albumCover">Initial value of the AlbumCover property.</param>
 public static Photo CreatePhoto(global::System.Int32 id, global::System.Int32 uploadedByUserId, global::System.Int32 photoAlbumId, global::System.String imageName, global::System.Boolean profilePicture, global::System.DateTime dateTimeStamp, global::System.Boolean albumCover)
 {
     Photo photo = new Photo();
     photo.Id = id;
     photo.UploadedByUserId = uploadedByUserId;
     photo.PhotoAlbumId = photoAlbumId;
     photo.ImageName = imageName;
     photo.ProfilePicture = profilePicture;
     photo.DateTimeStamp = dateTimeStamp;
     photo.AlbumCover = albumCover;
     return photo;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Photos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPhotos(Photo photo)
 {
     base.AddObject("Photos", photo);
 }