コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductKeywords EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductKeywords(ProductKeyword productKeyword)
 {
     base.AddObject("ProductKeywords", productKeyword);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProductKeyword object.
 /// </summary>
 /// <param name="productKeywordId">Initial value of the ProductKeywordId property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="keywordTypeId">Initial value of the KeywordTypeId property.</param>
 public static ProductKeyword CreateProductKeyword(global::System.Int32 productKeywordId, global::System.Int32 productId, global::System.Int32 keywordTypeId)
 {
     ProductKeyword productKeyword = new ProductKeyword();
     productKeyword.ProductKeywordId = productKeywordId;
     productKeyword.ProductId = productId;
     productKeyword.KeywordTypeId = keywordTypeId;
     return productKeyword;
 }