Example #1
0
bool ConcreteDatabase::transactionCommitDirect()
{
	if (!_asyncConn)
		return false;

	//check if we have pending transaction
	if(!_transStorage->get())
		return false;

	//directly execute SqlTransaction
	{
		scoped_ptr<SqlTransaction> pTrans(_transStorage->detach());
		return pTrans->execute(getAsyncConnection());	
	}
}
Example #2
0
void Cx_XmlSection::BeginTransaction()
{
    Cx_Interface<Ix_ConfigTransaction> pTrans(m_pData->m_pThis);
    ASSERT(pTrans.IsNotNull());
    pTrans->BeginTransaction();
}
Example #3
0
bool Cx_XmlSection::EndTransaction()
{
    Cx_Interface<Ix_ConfigTransaction> pTrans(m_pData->m_pThis);
    ASSERT(pTrans.IsNotNull());
    return pTrans->EndTransaction();
}
Example #4
0
ULONG Cx_XmlSection::GetModifiedCount()
{
    Cx_Interface<Ix_ConfigTransaction> pTrans(m_pData->m_pThis);
    ASSERT(pTrans.IsNotNull());
    return pTrans->GetModifiedCount();
}