dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleConnection Class / AutoCommit Property

In This Topic
    AutoCommit Property
    In This Topic
    Determines whether modifications will be committed automatically at the server or not.
    Syntax
    '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.
    Remarks
    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 BeginTransaction method the value of AutoCommit property is ignored.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also