Пример #1
0
 /// <summary>
 /// Create a new ProductOption object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="optionName">Initial value of the OptionName property.</param>
 public static ProductOption CreateProductOption(global::System.Guid id, global::System.String optionName)
 {
     ProductOption productOption = new ProductOption();
     productOption.ID = id;
     productOption.OptionName = optionName;
     return productOption;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductOptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductOptions(ProductOption productOption)
 {
     base.AddObject("ProductOptions", productOption);
 }