Namespace SEBT.Portal.Infrastructure.Data
Namespaces
Classes
- DesignTimeDbContextFactory
Factory for creating PortalDbContext at design time (EF Core migrations tooling). Bypasses the full DI container, which requires plugin assemblies and external services that aren't available during migration generation.
- DesignTimePortalDbContextFactory
Design-time factory for PortalDbContext. Used by EF Core tooling (dotnet ef migrations) to create the DbContext without requiring the full application startup pipeline. This avoids issues with plugin loading, feature flags, and other runtime dependencies that are irrelevant to schema generation.
- PortalDbContext
Database context for the SEBT Portal application.