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