Class ProtoSqlSession
The per-test database session: the connection ProtoTest owns, the transaction every access technology must enlist in when the isolation strategy needs one, and the lifecycle that opens, starts and releases both. One type owns the transaction, so no hook can leave one half-started.
public sealed class ProtoSqlSession
- Inheritance
-
ProtoSqlSession
- Inherited Members
- Extension Methods
Properties
Connection
Gets the connection owned by this test.
public DbConnection Connection { get; }
Property Value
Transaction
public DbTransaction? Transaction { get; }