public RG(EnumUF UF, string NR) { AssertionConcern.AssertArgumentNotEmptyNotNull(NR, "NR RG"); this.UF = UF; this.NR = NR; }
public void AtualizarValor(Guid ID_USUARIO, EnumUF UF, string CEP, string LOGRADOURO, string COMPLEMENTO, string BAIRRO, string CIDADE) { this.ID_USUARIO = ID_USUARIO; this.UF = UF; this.CEP = CEP; this.LOGRADOURO = LOGRADOURO; this.COMPLEMENTO = COMPLEMENTO; this.BAIRRO = BAIRRO; this.CIDADE = CIDADE; }
public void AtualizaValores(EnumUF UF, string CEP, string LOGRADOURO, string COMPLEMENTO, string BAIRRO, string CIDADE) { AssertionConcern.AssertArgumentNotEmptyNotNull(CEP, "CEP"); AssertionConcern.AssertArgumentNotEmptyNotNull(LOGRADOURO, "LOGRADOURO"); AssertionConcern.AssertArgumentNotEmptyNotNull(BAIRRO, "BAIRRO"); AssertionConcern.AssertArgumentNotEmptyNotNull(CIDADE, "CIDADE"); this.UF = UF; this.CEP = CEP; this.LOGRADOURO = LOGRADOURO; this.COMPLEMENTO = COMPLEMENTO; this.BAIRRO = BAIRRO; this.CIDADE = CIDADE; }
public INota GetNota(EnumUF uf) { switch (uf) { case EnumUF.PR: return(new NotaPR()); case EnumUF.SP: return(new NotaSP()); default: throw new SystemException("Estado não suportado."); } }
public ENDERECO(Guid ID_USUARIO, EnumUF UF, string CEP, string LOGRADOURO, string COMPLEMENTO, string BAIRRO, string CIDADE) { AssertionConcern.AssertArgumentNotEmptyNotNull(CEP, "CEP"); AssertionConcern.AssertArgumentNotEmptyNotNull(LOGRADOURO, "LOGRADOURO"); AssertionConcern.AssertArgumentNotEmptyNotNull(BAIRRO, "BAIRRO"); AssertionConcern.AssertArgumentNotEmptyNotNull(CIDADE, "CIDADE"); this.InicializaVariaveis(); this.ID_USUARIO = ID_USUARIO; this.UF = UF; this.CEP = CEP; this.LOGRADOURO = LOGRADOURO; this.COMPLEMENTO = COMPLEMENTO; this.BAIRRO = BAIRRO; this.CIDADE = CIDADE; }
public Empresa(EnumUF uF, string nomeFantasia, string cNPJ) { UF = uF; NomeFantasia = nomeFantasia; CNPJ = cNPJ; }
public void AdicionarEndereco(EnumUF UF, string CEP, string LOGRADOURO, string COMPLEMENTO, string BAIRRO, string CIDADE) { ENDERECO = new ENDERECO(ID_USUARIO, UF, CEP, LOGRADOURO, COMPLEMENTO, BAIRRO, CIDADE); }