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