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