Пример #1
0
        public void RollbackTransaction()
        {
            string Function_Name = "RollbackTransaction";

            LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Entered");
            DatabaseSession session = m_sessionFactory.GetDatabaseSession();

            try
            {
                if (session != null)
                {
                    session.RollBackTransaction();
                }
            }
            catch (Exception localException)
            {
                LogHelper.Error(CLASS_NAME, Function_Name, localException.ToString());
                throw localException;
            }
            LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Exited");
        }