예제 #1
0
        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();
                }
            }
        }
예제 #2
0
 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);
     }
 }