/// <summary> /// Deprecated Method for adding a new object to the ProductImages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductImages(ProductImage productImage) { base.AddObject("ProductImages", productImage); }
/// <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; }