Class ProtoExecutionContextExtensions
- Namespace
- ProtoTest.Sql.EntityFrameworkCore
- Assembly
- ProtoTest.Sql.EntityFrameworkCore.dll
public static class ProtoExecutionContextExtensions
- Inheritance
-
ProtoExecutionContextExtensions
- Inherited Members
Methods
Sql<TContext>(ProtoExecutionContext)
Gets the database context owned by this test execution.
public static TContext Sql<TContext>(this ProtoExecutionContext context) where TContext : DbContext
Parameters
contextProtoExecutionContext
Returns
- TContext
Type Parameters
TContext