/// <summary> /// Deprecated Method for adding a new object to the BusinessUnitPhoneNumbers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBusinessUnitPhoneNumbers(BusinessUnitPhoneNumber businessUnitPhoneNumber) { base.AddObject("BusinessUnitPhoneNumbers", businessUnitPhoneNumber); }
/// <summary> /// Create a new BusinessUnitPhoneNumber object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="businessUnitId">Initial value of the BusinessUnitId property.</param> /// <param name="phoneNumberTypeId">Initial value of the PhoneNumberTypeId property.</param> /// <param name="isActive">Initial value of the isActive property.</param> public static BusinessUnitPhoneNumber CreateBusinessUnitPhoneNumber(global::System.Int32 id, global::System.Int32 businessUnitId, global::System.Int32 phoneNumberTypeId, global::System.Boolean isActive) { BusinessUnitPhoneNumber businessUnitPhoneNumber = new BusinessUnitPhoneNumber(); businessUnitPhoneNumber.Id = id; businessUnitPhoneNumber.BusinessUnitId = businessUnitId; businessUnitPhoneNumber.PhoneNumberTypeId = phoneNumberTypeId; businessUnitPhoneNumber.isActive = isActive; return businessUnitPhoneNumber; }