/// <summary> /// Deprecated Method for adding a new object to the GalleryImages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGalleryImages(GalleryImages galleryImages) { base.AddObject("GalleryImages", galleryImages); }
/// <summary> /// Create a new GalleryImages object. /// </summary> /// <param name="itemID">Initial value of the ItemID property.</param> /// <param name="moduleID">Initial value of the ModuleID property.</param> /// <param name="displayOrder">Initial value of the DisplayOrder property.</param> /// <param name="uploadDate">Initial value of the UploadDate property.</param> public static GalleryImages CreateGalleryImages(global::System.Int32 itemID, global::System.Int32 moduleID, global::System.Int32 displayOrder, global::System.DateTime uploadDate) { GalleryImages galleryImages = new GalleryImages(); galleryImages.ItemID = itemID; galleryImages.ModuleID = moduleID; galleryImages.DisplayOrder = displayOrder; galleryImages.UploadDate = uploadDate; return galleryImages; }