예제 #1
0
 /// <summary>
 /// Create a new TipoEmail object.
 /// </summary>
 /// <param name="tipoEmailId">Initial value of the TipoEmailId 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 TipoEmail CreateTipoEmail(global::System.Int32 tipoEmailId, global::System.Byte tipoPessoaId, global::System.String nome, global::System.DateTime dataCriacao)
 {
     TipoEmail tipoEmail = new TipoEmail();
     tipoEmail.TipoEmailId = tipoEmailId;
     tipoEmail.TipoPessoaId = tipoPessoaId;
     tipoEmail.Nome = nome;
     tipoEmail.DataCriacao = dataCriacao;
     return tipoEmail;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TipoEmail EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTipoEmail(TipoEmail tipoEmail)
 {
     base.AddObject("TipoEmail", tipoEmail);
 }