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, IDbTransactionType Parameters
| Name | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| TTransaction |