Exemplo n.º 1
0
 public void AtribuirEstrutura(ClientObjects.EstruturaEventoBordero estrutura)
 {
     this.Control.ID                = estrutura.ID;
     this.EventoID.Valor            = estrutura.EventoID;
     this.GestorRazaoSocial.Valor   = estrutura.GestorRazaoSocial;
     this.GestorCpfCnpj.Valor       = estrutura.GestorCpfCnpj;
     this.GestorEndereco.Valor      = estrutura.GestorEndereco;
     this.ProdutorRazaoSocial.Valor = estrutura.ProdutorRazaoSocial;
     this.ProdutorCpfCnpj.Valor     = estrutura.ProdutorCpfCnpj;
     this.ProdutorEndereco.Valor    = estrutura.ProdutorEndereco;
 }
Exemplo n.º 2
0
        public ClientObjects.EstruturaEventoBordero CarregarEstrutura(int eventoID)
        {
            ClientObjects.EstruturaEventoBordero retorno = new ClientObjects.EstruturaEventoBordero();
            this.LerEvento(eventoID);

            retorno.ID                  = this.Control.ID;
            retorno.EventoID            = this.EventoID.Valor;
            retorno.GestorRazaoSocial   = this.GestorRazaoSocial.Valor;
            retorno.GestorCpfCnpj       = this.GestorCpfCnpj.Valor;
            retorno.GestorEndereco      = this.GestorEndereco.Valor;
            retorno.ProdutorRazaoSocial = this.ProdutorRazaoSocial.Valor;
            retorno.ProdutorCpfCnpj     = this.ProdutorCpfCnpj.Valor;
            retorno.ProdutorEndereco    = this.ProdutorEndereco.Valor;

            return(retorno);
        }
Exemplo n.º 3
0
 public void IncluirInformacoes(ClientObjects.EstruturaEventoBordero estrutura)
 {
     AtribuirEstrutura(estrutura);
     this.Inserir();
 }