/// <summary> /// Create a new BUContactNumber object. /// </summary> /// <param name="bUContactNumberID">Initial value of the BUContactNumberID property.</param> /// <param name="businessUnitID">Initial value of the BusinessUnitID property.</param> /// <param name="contactNumber">Initial value of the ContactNumber property.</param> public static BUContactNumber CreateBUContactNumber(global::System.Int32 bUContactNumberID, global::System.Int32 businessUnitID, global::System.String contactNumber) { BUContactNumber bUContactNumber = new BUContactNumber(); bUContactNumber.BUContactNumberID = bUContactNumberID; bUContactNumber.BusinessUnitID = businessUnitID; bUContactNumber.ContactNumber = contactNumber; return bUContactNumber; }
/// <summary> /// Deprecated Method for adding a new object to the BUContactNumbers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBUContactNumbers(BUContactNumber bUContactNumber) { base.AddObject("BUContactNumbers", bUContactNumber); }