Class EfCoreDbContext<TMarker>
- Namespace
- Savvyio.Extensions.DependencyInjection.EFCore
- Assembly
- Savvyio.Extensions.DependencyInjection.EFCore.dll
Provides a default implementation of the DbContext class to support Savvy I/O extensions of Microsoft Entity Framework Core in multiple implementations.
public class EfCoreDbContext<TMarker> : EfCoreDbContext, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IDisposable, IAsyncDisposable, IConfigurable<EfCoreDataSourceOptions>, IDependencyInjectionMarker<TMarker>
Type Parameters
TMarkerThe type used to mark the implementation that this context represents. Optimized for Microsoft Dependency Injection.
- Inheritance
-
EfCoreDbContext<TMarker>
- Implements
-
IDependencyInjectionMarker<TMarker>
- Inherited Members
Constructors
EfCoreDbContext(EfCoreDataSourceOptions<TMarker>)
Initializes a new instance of the EfCoreDbContext<TMarker> class.
public EfCoreDbContext(EfCoreDataSourceOptions<TMarker> options)
Parameters
optionsEfCoreDataSourceOptions<TMarker>The EfCoreDataSourceOptions<TMarker> used to configure this instance.