public void alterarEntradaMercadoria() { try { objDAL = new ComprasDAL(); objDAL.alterar(this.com_codigo, this.com_valorTotal); objDAL = null; } catch (Exception) { throw; } }
public void alterar() { try { objDAL = new ComprasDAL(); objDAL.alterar(this.com_codigo, this.com_dataCompra, this.com_usario, this.com_fornecedor, this.com_quantidade, this.com_valorTotal, this.com_observacao, this.com_status, this.com_numPedido); objDAL = null; } catch (Exception) { throw; } }