/// <summary> /// Create a new GalleryPhoto object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="galleryId">Initial value of the GalleryId property.</param> /// <param name="addDate">Initial value of the AddDate property.</param> public static GalleryPhoto CreateGalleryPhoto(global::System.Int32 id, global::System.String address, global::System.String description, global::System.Int32 galleryId, global::System.DateTime addDate) { GalleryPhoto galleryPhoto = new GalleryPhoto(); galleryPhoto.Id = id; galleryPhoto.Address = address; galleryPhoto.Description = description; galleryPhoto.GalleryId = galleryId; galleryPhoto.AddDate = addDate; return galleryPhoto; }
/// <summary> /// Deprecated Method for adding a new object to the GalleryPhotoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGalleryPhotoes(GalleryPhoto galleryPhoto) { base.AddObject("GalleryPhotoes", galleryPhoto); }