コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the bvc_ProductImage EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobvc_ProductImage(bvc_ProductImage bvc_ProductImage)
 {
     base.AddObject("bvc_ProductImage", bvc_ProductImage);
 }
コード例 #2
0
 /// <summary>
 /// Create a new bvc_ProductImage object.
 /// </summary>
 /// <param name="imageID">Initial value of the ImageID property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="caption">Initial value of the Caption property.</param>
 public static bvc_ProductImage Createbvc_ProductImage(global::System.Int32 imageID, global::System.String productID, global::System.String fileName, global::System.String caption)
 {
     bvc_ProductImage bvc_ProductImage = new bvc_ProductImage();
     bvc_ProductImage.ImageID = imageID;
     bvc_ProductImage.ProductID = productID;
     bvc_ProductImage.FileName = fileName;
     bvc_ProductImage.Caption = caption;
     return bvc_ProductImage;
 }