/// <summary>
 /// Create a new Phone object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="phonevalue">Initial value of the phonevalue property.</param>
 public static Phone CreatePhone(global::System.Int32 id, global::System.String phonevalue)
 {
     Phone phone = new Phone();
     phone.id = id;
     phone.phonevalue = phonevalue;
     return phone;
 }
 /// <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);
 }