Beispiel #1
0
 public static void SaveLogMoney(ItemRecordBussiness db)
 {
     lock (m_LogMoney)
     {
         db.LogMoneyDb(m_LogMoney);
     }
 }
Beispiel #2
0
        public static void SaveLogMoney(ItemRecordBussiness db)
        {
            DataTable logMoney;

            Monitor.Enter(logMoney = LogMgr.m_LogMoney);
            try
            {
                db.LogMoneyDb(LogMgr.m_LogMoney);
            }
            finally
            {
                Monitor.Exit(logMoney);
            }
        }