Esempio n. 1
0
 public DemandaBLL()
 {
     demandaDAO = new DemandaDAO();
     contexto   = new SOTREDataContext();
 }
Esempio n. 2
0
 public ProdutoBLL()
 {
     produtoDAO = new ProdutoDAO();
     contexto   = new SOTREDataContext();
 }
Esempio n. 3
0
 public UsuarioDAO()
 {
     contexto = new SOTREDataContext();
 }
Esempio n. 4
0
 public UsuarioBLL()
 {
     usuarioDAO = new UsuarioDAO();
     context    = new SOTREDataContext();
 }
Esempio n. 5
0
        public void Excluir(int ID)
        {
            Usuario entidade = this.ObterPorID(ID);

            usuarioDAO.Excluir(entidade, context = new SOTREDataContext());
        }
Esempio n. 6
0
 public TipoClienteBLL()
 {
     tipoClienteDAO = new TipoClienteDAO();
     contexto       = new SOTREDataContext();
 }
Esempio n. 7
0
 public PedidoBLL()
 {
     pedidoDAO = new PedidoDAO();
     contexto  = new SOTREDataContext();
 }
Esempio n. 8
0
        public void Excluir(int ID)
        {
            Cliente cliente = this.ObterPorID(ID);

            clienteDAO.Excluir(cliente, contexto = new SOTREDataContext());
        }
Esempio n. 9
0
 public ClienteBLL()
 {
     clienteDAO = new ClienteDAO();
     contexto   = new SOTREDataContext();
 }
Esempio n. 10
0
 public StatusPedidoBLL()
 {
     statusDAO = new StatusPedidoDAO();
     contexto  = new SOTREDataContext();
 }