Title here
Summary here
public interface IConnectionManager<TConnection, TTransaction> : IConnectionManager, IDisposable where TConnection : class, IDbConnection, new() where TTransaction : class, IDbTransaction
Name | Description |
---|---|
TConnection | |
TTransaction |
The underlying ADO.NET connection. Only read from this object and it's properties - by default, connections are always acquired from the connection pool.
TConnection DbConnection { get; }
Type | Description |
---|---|
TConnection |
The current transaction. Use BeginTransaction() to start a transaction, and CommitTransaction() or RollbackTransaction() to commit or rollback.
TTransaction Transaction { get; }
Type | Description |
---|---|
TTransaction |