/// <summary>
 /// Deprecated Method for adding a new object to the tblPhotos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblPhotos(Photos photos)
 {
     base.AddObject("tblPhotos", photos);
 }
 /// <summary>
 /// Create a new Photos object.
 /// </summary>
 /// <param name="photoId">Initial value of the photoId property.</param>
 /// <param name="isHomePage">Initial value of the isHomePage property.</param>
 public static Photos CreatePhotos(global::System.Int32 photoId, global::System.Boolean isHomePage)
 {
     Photos photos = new Photos();
     photos.photoId = photoId;
     photos.isHomePage = isHomePage;
     return photos;
 }