Page 1 of 1

Transaction control by myself

Posted: Wed 23 May 2007 19:56
by Sergio Bertolotti
Dear Support,
I'm a register user of SDAC 4.x professional version.
Is it possible to control transaction by developer instead SDAC with AutoCommit property ?
I found a protected boolean property Autocommit with default a True.
I want control myself transaction by code with StartTransaction, Commit or Rollback.

Best regards.
Sergio Bertolotti

Posted: Thu 24 May 2007 08:20
by Jackson
The AutoCommit property is in the protected section and has no effect in SDAC.
You can freely use TMSConnection.StartTransaction, TMSConnection.Commit and so forth to control transactions.

Posted: Thu 24 May 2007 12:12
by Sergio Bertolotti
Dear Jackson,

many thank's for your answer.

Best regards.

Sergio Bertolotti