Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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);
 }