DbProviderServices.GetServices Method (Type, Object)
Called 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. The implementation of this method in this class uses the resolvers added with the AddDependencyResolver method to resolve dependencies.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- type
-
Type:
System.Type
The type of the service to be resolved.
- key
-
Type:
System.Object
An optional key providing additional information for resolving the service.
Return Value
Type: System.Collections.Generic.IEnumerable<Object>All registered services that satisfy the given type and key, or an empty enumeration if there are none.