DatabaseProviderServices DatabaseProviderServices Class

Definition

The base set of services required by EF for a database provider to function.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public abstract class DatabaseProviderServices : IDatabaseProviderServices
Public MustInherit Class DatabaseProviderServices
    Implements IDatabaseProviderServices
Inheritance
System.ObjectSystem.Object
DatabaseProviderServicesDatabaseProviderServices
Implements

Constructors

DatabaseProviderServices(IServiceProvider) DatabaseProviderServices(IServiceProvider)

Initializes a new instance of the DatabaseProviderServices class.

Properties

CompiledQueryCacheKeyGenerator CompiledQueryCacheKeyGenerator

Gets the ICompiledQueryCacheKeyGenerator for the database provider. By default, EF will register a default implementation (CompiledQueryCacheKeyGenerator) which provides basic functionality but can be overridden if needed.

ConventionSetBuilder ConventionSetBuilder

The convention set builder for the database provider. By default this returns null, meaning the default CoreConventionSetBuilder will be used.

Creator Creator

Gets the IDatabaseCreator for the database provider.

Database Database

Gets the IDatabase for the database provider.

EntityQueryableExpressionVisitorFactory EntityQueryableExpressionVisitorFactory

Gets the IEntityQueryableExpressionVisitorFactory for the database provider.

EntityQueryModelVisitorFactory EntityQueryModelVisitorFactory

Gets the IEntityQueryModelVisitorFactory for the database provider.

ExecutionStrategyFactory ExecutionStrategyFactory

Gets the IExecutionStrategyFactory for the database provider.

ExpressionPrinter ExpressionPrinter

Gets the IExpressionPrinter for the database provider. By default, EF will register a default implementation (ExpressionPrinter) which provides basic functionality but can be overridden if needed.

InvariantName InvariantName

The unique name used to identify the database provider. This should be the same as the NuGet package name for the providers runtime.

ModelSource ModelSource

Gets the IModelSource for the database provider.

ModelValidator ModelValidator

Gets the IModelValidator for the database provider. By default, EF will register a default implementation (LoggingModelValidator) which provides basic functionality but can be overridden if needed.

ProjectionExpressionVisitorFactory ProjectionExpressionVisitorFactory

Gets the IProjectionExpressionVisitorFactory for the database provider. By default, EF will register a default implementation (ProjectionExpressionVisitorFactory) which provides basic functionality but can be overridden if needed.

QueryCompilationContextFactory QueryCompilationContextFactory

Gets the IQueryCompilationContextFactory for the database provider. By default, EF will register a default implementation (ValueGeneratorSelector) which provides basic functionality but can be overridden if needed.

QueryContextFactory QueryContextFactory

Gets the IQueryContextFactory for the database provider.

ResultOperatorHandler ResultOperatorHandler

Gets the IResultOperatorHandler for the database provider. By default, EF will register a default implementation (ResultOperatorHandler) which provides basic functionality but can be overridden if needed.

Services Services

Gets the service provider to resolve services from.

TransactionManager TransactionManager

Gets the IDbContextTransactionManager for the database provider.

ValueGeneratorCache ValueGeneratorCache

Gets the IValueGeneratorCache for the database provider.

ValueGeneratorSelector ValueGeneratorSelector

Gets the IValueGeneratorSelector for the database provider. By default, EF will register a default implementation (ValueGeneratorSelector) which provides basic functionality but can be overridden if needed.

Methods

System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
GetService<TService>() GetService(Of TService)()

Resolves a required service from Services.

System.Object.GetType() System.Object.GetType() Inherited from System.Object
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
System.Object.ToString() System.Object.ToString() Inherited from System.Object