/// <summary>
 /// Create a new PhoneNumber object.
 /// </summary>
 /// <param name="phoneNumberId">Initial value of the PhoneNumberId property.</param>
 /// <param name="contantId">Initial value of the ContantId property.</param>
 /// <param name="number">Initial value of the Number property.</param>
 public static PhoneNumber CreatePhoneNumber(global::System.Int32 phoneNumberId, global::System.Int32 contantId, global::System.String number)
 {
     PhoneNumber phoneNumber = new PhoneNumber();
     phoneNumber.PhoneNumberId = phoneNumberId;
     phoneNumber.ContantId = contantId;
     phoneNumber.Number = number;
     return phoneNumber;
 }
 /// <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);
 }