/// <summary>
 /// Deprecated Method for adding a new object to the Pictures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPictures(Picture picture)
 {
     base.AddObject("Pictures", picture);
 }
 /// <summary>
 /// Create a new Picture object.
 /// </summary>
 /// <param name="pictureId">Initial value of the PictureId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="path">Initial value of the Path property.</param>
 /// <param name="creationDate">Initial value of the CreationDate property.</param>
 public static Picture CreatePicture(global::System.Guid pictureId, global::System.Guid userId, global::System.String path, global::System.DateTime creationDate)
 {
     Picture picture = new Picture();
     picture.PictureId = pictureId;
     picture.UserId = userId;
     picture.Path = path;
     picture.CreationDate = creationDate;
     return picture;
 }