Exemple #1
0
        private void SalvarArea()
        {
            AreaDAO areaDAO = new AreaDAO();
            Area    area    = new Area();

            area.DESCRICAO = txtDescricao.Text;
            area.NOME      = txtNome.Text.ToUpper();

            areaDAO.Add(area);
            areaDAO.SaveChanges();
        }