/// <summary> /// Deprecated Method for adding a new object to the endereco EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToendereco(endereco endereco) { base.AddObject("endereco", endereco); }
/// <summary> /// Create a new endereco object. /// </summary> /// <param name="idEndereco">Initial value of the idEndereco property.</param> /// <param name="idTipoEndereco">Initial value of the idTipoEndereco property.</param> /// <param name="idPessoa">Initial value of the idPessoa property.</param> /// <param name="logradouro">Initial value of the logradouro property.</param> /// <param name="numero">Initial value of the numero property.</param> /// <param name="cEP">Initial value of the CEP property.</param> /// <param name="bairro">Initial value of the bairro property.</param> /// <param name="cidade">Initial value of the cidade property.</param> /// <param name="uf">Initial value of the uf property.</param> public static endereco Createendereco(global::System.Int32 idEndereco, global::System.Int32 idTipoEndereco, global::System.Int32 idPessoa, global::System.String logradouro, global::System.Int32 numero, global::System.String cEP, global::System.String bairro, global::System.String cidade, global::System.String uf) { endereco endereco = new endereco(); endereco.idEndereco = idEndereco; endereco.idTipoEndereco = idTipoEndereco; endereco.idPessoa = idPessoa; endereco.logradouro = logradouro; endereco.numero = numero; endereco.CEP = cEP; endereco.bairro = bairro; endereco.cidade = cidade; endereco.uf = uf; return endereco; }