/// <summary>
 /// Create a new Telefone object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="numero">Initial value of the Numero property.</param>
 /// <param name="pessoaId">Initial value of the PessoaId property.</param>
 public static Telefone CreateTelefone(global::System.Int32 id, global::System.String numero, global::System.Int32 pessoaId)
 {
     Telefone telefone = new Telefone();
     telefone.Id = id;
     telefone.Numero = numero;
     telefone.PessoaId = pessoaId;
     return telefone;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Telefones EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTelefones(Telefone telefone)
 {
     base.AddObject("Telefones", telefone);
 }