/// <summary> /// Deprecated Method for adding a new object to the telefone EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotelefone(telefone telefone) { base.AddObject("telefone", telefone); }
/// <summary> /// Create a new telefone object. /// </summary> /// <param name="idPessoa">Initial value of the IdPessoa property.</param> /// <param name="numero">Initial value of the Numero property.</param> /// <param name="idTipoTelefone">Initial value of the IdTipoTelefone property.</param> public static telefone Createtelefone(global::System.Int16 idPessoa, global::System.Int32 numero, global::System.SByte idTipoTelefone) { telefone telefone = new telefone(); telefone.IdPessoa = idPessoa; telefone.Numero = numero; telefone.IdTipoTelefone = idTipoTelefone; return telefone; }