<< Return to Main Index

< Return to Class Index

CGXDBEngine::BeginTrans

virtual void BeginTrans(LPCTSTR pszDescription);

pszDescription

Points to a string with the description of the command.

Remarks

This base class version of this function does nothing. The subclasses that bind to concrete data sources implement the transaction functions based on the bound data sources capabilities.

If implemented, this marks the beginning of a transaction-like block of commands. All subsequent commands will be undone, redone and rolled back in one step.

See Also

CGXDBEngine::CommitTrans CGXDBEngine::Rollback

CGXDBEngine

Class Overview | Class Members