public static bool IsUseTransaction()
        {
            var data = ThreadStaticStorage.GetData(TRAN_FLAG_SLOT);

            if (data == null)
            {
                return(false);
            }

            return((bool)data);
        }
Beispiel #2
0
 public static BaseTransactionManager GetCurrentThreadTransactionManager()
 {
     return(ThreadStaticStorage.GetData(TRANSACTION_MANAGER) as BaseTransactionManager);
 }