コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductFiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductFiles(ProductFile productFile)
 {
     base.AddObject("ProductFiles", productFile);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProductFile object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="isImage">Initial value of the IsImage property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="fileId">Initial value of the FileId property.</param>
 public static ProductFile CreateProductFile(global::System.Int32 id, global::System.String isImage, global::System.Int32 productId, global::System.Int32 fileId)
 {
     ProductFile productFile = new ProductFile();
     productFile.Id = id;
     productFile.IsImage = isImage;
     productFile.ProductId = productId;
     productFile.FileId = fileId;
     return productFile;
 }