Share via


DbProviderServices.AddDependencyResolver(IDbDependencyResolver) Method

Definition

Adds an IDbDependencyResolver that will be used to resolve additional default provider services when a derived type is registered as an EF provider either using an entry in the application's config file or through code-based registration in DbConfiguration.

protected void AddDependencyResolver (System.Data.Entity.Infrastructure.DependencyResolution.IDbDependencyResolver resolver);
member this.AddDependencyResolver : System.Data.Entity.Infrastructure.DependencyResolution.IDbDependencyResolver -> unit
Protected Sub AddDependencyResolver (resolver As IDbDependencyResolver)

Parameters

resolver
IDbDependencyResolver

The resolver to add.

Applies to