DbConfiguration.AddDefaultResolver Method (IDbDependencyResolver)

 

Adds a IDbDependencyResolver instance to the Chain of Responsibility of resolvers that are used to resolve dependencies needed by the Entity Framework.

Namespace:   System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

protected internal void AddDefaultResolver(
	IDbDependencyResolver resolver
)

A DbProviderServices implementation is automatically registered as a default resolver when it is added with a call to SetProviderServices. This allows EF providers to act as resolvers for other services that may need to be overridden by the provider.