/// <summary>
 /// Deprecated Method for adding a new object to the contacts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocontacts(contact contact)
 {
     base.AddObject("contacts", contact);
 }
 /// <summary>
 /// Create a new contact object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static contact Createcontact(global::System.Int32 id)
 {
     contact contact = new contact();
     contact.ID = id;
     return contact;
 }