/// <summary> /// Deprecated Method for adding a new object to the PhoneNumberTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPhoneNumberTypes(PhoneNumberType phoneNumberType) { base.AddObject("PhoneNumberTypes", phoneNumberType); }
/// <summary> /// Create a new PhoneNumberType object. /// </summary> /// <param name="phoneNumberTypeID">Initial value of the PhoneNumberTypeID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static PhoneNumberType CreatePhoneNumberType(global::System.Int32 phoneNumberTypeID, global::System.String name, global::System.DateTime modifiedDate) { PhoneNumberType phoneNumberType = new PhoneNumberType(); phoneNumberType.PhoneNumberTypeID = phoneNumberTypeID; phoneNumberType.Name = name; phoneNumberType.ModifiedDate = modifiedDate; return phoneNumberType; }