/// <summary> /// Create a new ItemPhoto object. /// </summary> /// <param name="itemPhotoId">Initial value of the ItemPhotoId property.</param> /// <param name="itemId">Initial value of the ItemId property.</param> /// <param name="imageFileId">Initial value of the ImageFileId property.</param> public static ItemPhoto CreateItemPhoto(global::System.Int32 itemPhotoId, global::System.Int32 itemId, global::System.Guid imageFileId) { ItemPhoto itemPhoto = new ItemPhoto(); itemPhoto.ItemPhotoId = itemPhotoId; itemPhoto.ItemId = itemId; itemPhoto.ImageFileId = imageFileId; return itemPhoto; }
/// <summary> /// Deprecated Method for adding a new object to the ItemPhotoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemPhotoes(ItemPhoto itemPhoto) { base.AddObject("ItemPhotoes", itemPhoto); }