/// <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="phone_number_type_id">Initial value of the phone_number_type_id property.</param> /// <param name="description">Initial value of the description property.</param> public static PhoneNumberType CreatePhoneNumberType(global::System.Int32 phone_number_type_id, global::System.String description) { PhoneNumberType phoneNumberType = new PhoneNumberType(); phoneNumberType.phone_number_type_id = phone_number_type_id; phoneNumberType.description = description; return phoneNumberType; }