Interface IDatabaseLifecycleFixture<TContext>
- Namespace
- FEFF.TestFixtures.AspNetCore.EF
- Assembly
- FEFF.TestFixtures.AspNetCore.EF.dll
Defines the contract for managing database lifecycle during tests.
public interface IDatabaseLifecycleFixture<TContext> : IDatabaseLifecycleFixture where TContext : DbContext
Type Parameters
TContext
- Extension Methods
Properties
LazyDbContext
Gets the TContext instance resolved from the service provider.
TContext LazyDbContext { get; }
Property Value
- TContext
Remarks
Accessing this property starts the application under test if not already running.