Function CSPTxContext::Commit()

Description:
Commits the transaction as a whole, causing any taken action bound to it to be commited too.

Micronovae Prototype:
void Commit();

Arguments:
No arguments (void).

Return value:
No return value (void).

Examples:
CSPTxContext Tx;
CSPODBCConnection Conn( Tx );
CSPODBCRecordset Set( Conn );
...
...
Tx.Commit(); // All the UPDATE, SELECT, and INSERT statements will be rollbacked.

See also:
member function Abort()
CSPTxContext | Other support classes | Class Categories | Online help home | Back

Copyright © 2002 - 2006 Micronovae Ltd. - www.micronovae.com