Interface IRelationalDatabaseFacadeDependencies
- Namespace
- Microsoft.EntityFrameworkCore.Storage
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Exposes dependencies needed by Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade and its relational extension methods.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public interface IRelationalDatabaseFacadeDependencies : IDatabaseFacadeDependencies
Remarks
The service lifetime is Scoped. This means that each Microsoft.EntityFrameworkCore.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
CommandLogger
A command logger.
IRelationalCommandDiagnosticsLogger CommandLogger { get; }
Property Value
RawSqlCommandBuilder
The raw SQL command builder.
IRawSqlCommandBuilder RawSqlCommandBuilder { get; }
Property Value
RelationalConnection
The relational connection.
IRelationalConnection RelationalConnection { get; }