/// <summary> /// Deprecated Method for adding a new object to the Product_Option EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProduct_Option(Product_Option product_Option) { base.AddObject("Product_Option", product_Option); }
/// <summary> /// Create a new Product_Option object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="pro_op_price">Initial value of the pro_op_price property.</param> public static Product_Option CreateProduct_Option(global::System.Int32 id, global::System.String name, global::System.Decimal pro_op_price) { Product_Option product_Option = new Product_Option(); product_Option.id = id; product_Option.name = name; product_Option.pro_op_price = pro_op_price; return product_Option; }