/// <summary>
 /// Deprecated Method for adding a new object to the Phones EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPhones(Phone phone)
 {
     base.AddObject("Phones", phone);
 }
 /// <summary>
 /// Create a new Phone object.
 /// </summary>
 /// <param name="phoneId">Initial value of the PhoneId property.</param>
 /// <param name="clientId">Initial value of the ClientId property.</param>
 /// <param name="phoneSeqNum">Initial value of the PhoneSeqNum property.</param>
 /// <param name="effectiveDate">Initial value of the EffectiveDate property.</param>
 /// <param name="expirationDate">Initial value of the ExpirationDate property.</param>
 /// <param name="areaCode">Initial value of the AreaCode property.</param>
 /// <param name="phoneNumber">Initial value of the PhoneNumber property.</param>
 /// <param name="phoneTypeCode">Initial value of the PhoneTypeCode property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="terminalId">Initial value of the TerminalId property.</param>
 /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param>
 /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param>
 public static Phone CreatePhone(global::System.Int32 phoneId, global::System.Int32 clientId, global::System.Byte phoneSeqNum, global::System.DateTime effectiveDate, global::System.DateTime expirationDate, global::System.String areaCode, global::System.String phoneNumber, global::System.String phoneTypeCode, global::System.String userId, global::System.String terminalId, global::System.String lastModifiedBy, global::System.DateTime lastModifiedDate)
 {
     Phone phone = new Phone();
     phone.PhoneId = phoneId;
     phone.ClientId = clientId;
     phone.PhoneSeqNum = phoneSeqNum;
     phone.EffectiveDate = effectiveDate;
     phone.ExpirationDate = expirationDate;
     phone.AreaCode = areaCode;
     phone.PhoneNumber = phoneNumber;
     phone.PhoneTypeCode = phoneTypeCode;
     phone.UserId = userId;
     phone.TerminalId = terminalId;
     phone.LastModifiedBy = lastModifiedBy;
     phone.LastModifiedDate = lastModifiedDate;
     return phone;
 }