public DataTable SelectRemessas() { DataTable dt = new DataTable(); ConexaoOracle objConexao = new ConexaoOracle(); try { objConexao.AdicionarParametroCursor("DADOS"); System.Data.OracleClient.OracleDataAdapter adpt = objConexao.ExecutarAdapter("AAT_PKG_SERASA_PEFIN.LISTAR_REMESSAS"); adpt.Fill(dt); adpt.Dispose(); } catch (Exception ex) { throw new Exception("Problemas contate o administrador do sistema: //n" + ex.Message); } finally { objConexao.Dispose(); } return(dt); }
public void Dispose() { _da.Dispose(); }