コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductValues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductValues(ProductValue productValue)
 {
     base.AddObject("ProductValues", productValue);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProductValue object.
 /// </summary>
 /// <param name="productValueID">Initial value of the ProductValueID property.</param>
 public static ProductValue CreateProductValue(global::System.String productValueID)
 {
     ProductValue productValue = new ProductValue();
     productValue.ProductValueID = productValueID;
     return productValue;
 }