IConnectionManager<TConnection, TTransaction>

Interface IConnectionManager<TConnection, TTransaction>

Inherited Members
Namespace: ETLBox
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. Only read from this object and it's properties - by default, connections are always acquired from the connection pool.

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