Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ItemPhotoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToItemPhotoes(ItemPhoto itemPhoto)
 {
     base.AddObject("ItemPhotoes", itemPhoto);
 }