This example opens a Workspace and sets IsolateODBCTrans to True before starting a transaction.
CdbDBEngine DBEng;
CdbWorkspace wrkDefault;
wrkDefault = DBEng.Workspaces[0L];
wrkDefault.SetIsolateODBCTrans(-1);
wrkDefault.BeginTrans();
// Execute query to ODBC database and complete transaction.