DbConfigurationLoadedEventArgs Class

Definition

Event arguments passed to Loaded event handlers.

public class DbConfigurationLoadedEventArgs : EventArgs
type DbConfigurationLoadedEventArgs = class
    inherit EventArgs
Public Class DbConfigurationLoadedEventArgs
Inherits EventArgs
Inheritance
DbConfigurationLoadedEventArgs

Properties

DependencyResolver

Returns a snapshot of the IDbDependencyResolver that is about to be locked. Use the GetService methods on this object to get services that have been registered.

Methods

AddDefaultResolver(IDbDependencyResolver)

Call this method to add a IDbDependencyResolver instance to the Chain of Responsibility of resolvers that are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only be used to resolve a dependency that could not be resolved by any of the other resolvers.

AddDependencyResolver(IDbDependencyResolver, Boolean)

Call this method to add a IDbDependencyResolver instance to the Chain of Responsibility of resolvers that are used to resolve dependencies needed by the Entity Framework.

Equals(Object) System.EventArgs.Equals(System.Object)
GetHashCode() System.EventArgs.GetHashCode
GetType() System.EventArgs.GetType
ReplaceService<TService>(Func<TService,Object,TService>)

Adds a wrapping resolver to the configuration that is about to be locked. A wrapping resolver is a resolver that incepts a service would have been returned by the resolver chain and wraps or replaces it with another service of the same type.

ToString() System.EventArgs.ToString

Applies to