DbConfigurationLoadedEventArgs Class

 

Represents the event arguments passed to Loaded event handlers.

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

System.Object
  System.EventArgs
    System.Data.Entity.Infrastructure.DependencyResolution.DbConfigurationLoadedEventArgs

public class DbConfigurationLoadedEventArgs : EventArgs

NameDescription
System_CAPS_pubpropertyDependencyResolver

Gets 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.

NameDescription
System_CAPS_pubmethodAddDefaultResolver(IDbDependencyResolver)

Adds 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.

System_CAPS_pubmethodAddDependencyResolver(IDbDependencyResolver, Boolean)

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

System_CAPS_pubmethodEquals(Object)

Specifies whether this instance is equal to a specific object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Gets the hash code associated with this instance.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the type of this instance.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodReplaceService<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.

System_CAPS_pubmethodToString()

Returns a string representation of DbConfigurationLoadedEventArgs.(Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.