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

context ProtoExecutionContext

Returns

TContext

Type Parameters

TContext