dotConnect for Oracle Documentation
AutoCommit Property
See Also
Devart.Data.Oracle Namespace > OracleConnection Class : AutoCommit Property

Determines whether modifications will be committed automatically at the server or not.


Visual Basic (Declaration) 
Public Property AutoCommit As Boolean
public bool AutoCommit {get; set;}

Property Value

true if Commit is called for the current transaction after the execution of each SQL statement; otherwise, false. The default value is true.


By default, dotConnect for Oracle provider is in AutoCommit mode that commits a current transaction automatically after the execution of each SQL statement. If a transaction was started explicitly by calling OracleConnection.BeginTransaction method the value of AutoCommit property is ignored.


Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.

See Also