/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the ProductOptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductOptions(ProductOption productOption) { base.AddObject("ProductOptions", productOption); }