コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductImages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductImages(ProductImage productImage)
 {
     base.AddObject("ProductImages", productImage);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProductImage object.
 /// </summary>
 /// <param name="image_id">Initial value of the image_id property.</param>
 public static ProductImage CreateProductImage(global::System.Int32 image_id)
 {
     ProductImage productImage = new ProductImage();
     productImage.image_id = image_id;
     return productImage;
 }