Table of Contents

Interface IDatabaseLifecycleFixture

Namespace
FEFF.TestFixtures.AspNetCore.EF
Assembly
FEFF.TestFixtures.AspNetCore.EF.dll

Defines the contract for managing database lifecycle during tests.

public interface IDatabaseLifecycleFixture
Extension Methods

Properties

LazyDbContext

Gets the DbContext instance resolved from the service provider.

DbContext LazyDbContext { get; }

Property Value

DbContext

Remarks

Accessing this property starts the application under test if not already running.