Interface IDatabaseFacadeDependencies
- Namespace
- Microsoft.EntityFrameworkCore.Storage
- Assembly
- Microsoft.EntityFrameworkCore.dll
Exposes dependencies needed by DatabaseFacade.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public interface IDatabaseFacadeDependencies
Remarks
The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.
See Implementation of database providers and extensions for more information and examples.
Properties
AdHocMapper
The ad-hoc type mapper.
IAdHocMapper AdHocMapper { get; }
Property Value
CommandLogger
A command logger.
IDiagnosticsLogger<DbLoggerCategory.Database.Command> CommandLogger { get; }
Property Value
ConcurrencyDetector
The concurrency detector.
IConcurrencyDetector ConcurrencyDetector { get; }
Property Value
CoreOptions
The core options.
ICoreSingletonOptions CoreOptions { get; }
Property Value
DatabaseCreator
The database creator.
IDatabaseCreator DatabaseCreator { get; }
Property Value
DatabaseProviders
The registered database providers.
IEnumerable<IDatabaseProvider> DatabaseProviders { get; }
Property Value
ExecutionStrategy
The execution strategy.
IExecutionStrategy ExecutionStrategy { get; }
Property Value
ExecutionStrategyFactory
The execution strategy factory.
IExecutionStrategyFactory ExecutionStrategyFactory { get; }
Property Value
QueryProvider
The async query provider.
IAsyncQueryProvider QueryProvider { get; }
Property Value
TransactionManager
The transaction manager.
IDbContextTransactionManager TransactionManager { get; }
Property Value
TypeMappingSource
The TypeMappingSource.
ITypeMappingSource TypeMappingSource { get; }