Exemplo n.º 1
0
 /// <summary>
 /// Create a new TipoEndereco object.
 /// </summary>
 /// <param name="tipoEnderecoId">Initial value of the TipoEnderecoId property.</param>
 /// <param name="tipoPessoaId">Initial value of the TipoPessoaId property.</param>
 /// <param name="nome">Initial value of the Nome property.</param>
 /// <param name="dataCriacao">Initial value of the DataCriacao property.</param>
 public static TipoEndereco CreateTipoEndereco(global::System.Int32 tipoEnderecoId, global::System.Byte tipoPessoaId, global::System.String nome, global::System.DateTime dataCriacao)
 {
     TipoEndereco tipoEndereco = new TipoEndereco();
     tipoEndereco.TipoEnderecoId = tipoEnderecoId;
     tipoEndereco.TipoPessoaId = tipoPessoaId;
     tipoEndereco.Nome = nome;
     tipoEndereco.DataCriacao = dataCriacao;
     return tipoEndereco;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TipoEndereco EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTipoEndereco(TipoEndereco tipoEndereco)
 {
     base.AddObject("TipoEndereco", tipoEndereco);
 }