public void EXE_ALL(ArrayList ParameterList) { try { VDS_ALO26_DBO DBO = new VDS_ALO26_DBO(ref USEDB); //¿W¥ß©I¥s±Ò°ÊTranscation Conn = USEDB.CreateConnection(); Conn.Open(); DBT = Conn.BeginTransaction(); DBO.doEXE_ALL(ParameterList, DBT); DBT.Commit(); } catch (Exception ex) { if (DBT != null) { //¿W¥ß©I¥sTranscation¥¢±Ñ DBT.Rollback(); } throw ex; } finally { if (Conn.State == ConnectionState.Connecting) { Conn.Close(); } } }
public DataTable QueryData(ArrayList ParameterList) { try { VDS_ALO26_DBO DBO = new VDS_ALO26_DBO(ref USEDB); return DBO.doQueryData(ParameterList); } catch (Exception ex) { throw GetNewException(ex); } }