/// <summary>
 /// Deprecated Method for adding a new object to the PicturesDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPicturesDetails(PicturesDetail picturesDetail)
 {
     base.AddObject("PicturesDetails", picturesDetail);
 }
 /// <summary>
 /// Create a new PicturesDetail object.
 /// </summary>
 /// <param name="pictureId">Initial value of the PictureId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="creationDate">Initial value of the CreationDate property.</param>
 /// <param name="albumId">Initial value of the AlbumId property.</param>
 public static PicturesDetail CreatePicturesDetail(global::System.Guid pictureId, global::System.String name, global::System.DateTime creationDate, global::System.Int16 albumId)
 {
     PicturesDetail picturesDetail = new PicturesDetail();
     picturesDetail.PictureId = pictureId;
     picturesDetail.Name = name;
     picturesDetail.CreationDate = creationDate;
     picturesDetail.AlbumId = albumId;
     return picturesDetail;
 }