Search Results for

    Show / Hide Table of Contents

    Enum AdbConnectionMode

    Specifies how an AdbConnectionBuilderBase instance creates, opens, and closes connections.

    Namespace: actionETL.Adb
    Assembly: actionETL.dll
    Syntax
    public enum AdbConnectionMode

    Fields

    Name Description
    KeepOpen

    The class opens the underlying .NET connection on the first call to Open(), but does not close or dispose it when Close() and Dispose() are called. This can be used for keeping the connection open across multiple workers, which can be very useful. Examples include running multiple Adb workers inside a single transaction, or using a single temporary table across multiple workers.

    After the connection has been disposed, the AdbKeepOpenConnectionBuilder instance that created it must also be disposed, which is when the underlying .NET connection will be closed and disposed.

    PassThrough

    Member calls such as Open(), Close(), and Dispose() will be immediately passed through to the underlying .NET connection. The connection can only be used with a single worker. This is the default.

    See Also
    AdbConnectionBuilder
    AdbKeepOpenConnectionBuilder
    In This Article
    Back to top Copyright © 2023 Envobi Ltd