public FbEnlistmentNotification(FbConnectionInternal connection, Transaction systemTransaction)
    {
        _connection        = connection;
        _transaction       = connection.BeginTransaction(systemTransaction.IsolationLevel);
        _systemTransaction = systemTransaction;

        _systemTransaction.EnlistVolatile(this, EnlistmentOptions.None);
    }
Example #2
0
    public FbTransaction BeginTransaction(IsolationLevel level, string transactionName)
    {
        CheckClosed();

        return(_innerConnection.BeginTransaction(level, transactionName));
    }