/// <summary>
 /// Deprecated Method for adding a new object to the PhoneNumbers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPhoneNumbers(PhoneNumber phoneNumber)
 {
     base.AddObject("PhoneNumbers", phoneNumber);
 }
 /// <summary>
 /// Create a new PhoneNumber object.
 /// </summary>
 /// <param name="phone_id">Initial value of the phone_id property.</param>
 /// <param name="phone_no">Initial value of the phone_no property.</param>
 /// <param name="phone_number_type_id">Initial value of the phone_number_type_id property.</param>
 /// <param name="personID">Initial value of the PersonID property.</param>
 public static PhoneNumber CreatePhoneNumber(global::System.Int32 phone_id, global::System.String phone_no, global::System.Int32 phone_number_type_id, global::System.Int32 personID)
 {
     PhoneNumber phoneNumber = new PhoneNumber();
     phoneNumber.phone_id = phone_id;
     phoneNumber.phone_no = phone_no;
     phoneNumber.phone_number_type_id = phone_number_type_id;
     phoneNumber.PersonID = personID;
     return phoneNumber;
 }