/// <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);
 }
 /// <summary>
 /// Create a new Photo object.
 /// </summary>
 /// <param name="photoID">Initial value of the PhotoID property.</param>
 /// <param name="relativePath">Initial value of the RelativePath property.</param>
 public static Photo CreatePhoto(global::System.Int32 photoID, global::System.String relativePath)
 {
     Photo photo = new Photo();
     photo.PhotoID = photoID;
     photo.RelativePath = relativePath;
     return photo;
 }