public bool commitTransaction()
{
if (m_transactionLevel <= 0)
{
m_transactionLevel = 0;
return false;
}
try
{
if (m_transactionLevel == 1)
{
m_otxn.Commit();
m_transactionLevel = 0;
}
else
{
m_transactionLevel--;
}
return true;
}
catch (Exception ex)
{
cError.mngError(ex, "commitTransaction", c_module, "");
return false;
}
}