/// <summary> /// Create a new Photo object. /// </summary> /// <param name="photoID">Initial value of the PhotoID property.</param> public static Photo CreatePhoto(global::System.Int32 photoID) { Photo photo = new Photo(); photo.PhotoID = photoID; return photo; }
/// <summary> /// Deprecated Method for adding a new object to the Photos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPhotos(Photo photo) { base.AddObject("Photos", photo); }