Interface IConnectionManager<TConnection, TTransaction>

Namespace: ETLBox.Connection
Assembly: ETLBox.dll
Syntax
    public interface IConnectionManager<TConnection, TTransaction> : IConnectionManager, IDisposable where TConnection : class, IDbConnection, new()
    where TTransaction : class, IDbTransaction
Type Parameters
NameDescription
TConnection
TTransaction

Properties

DbConnection

The underlying ADO.NET connection

Declaration
    TConnection DbConnection { get; }
Property Value
TypeDescription
TConnection

Transaction

The current transaction. Use BeginTransaction() to start a transaction, and CommitTransaction() or RollbackTransaction() to commit or rollback.

Declaration
    TTransaction Transaction { get; }
Property Value
TypeDescription
TTransaction