/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the TipoEmail EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTipoEmail(TipoEmail tipoEmail) { base.AddObject("TipoEmail", tipoEmail); }