ExecutionStrategyResolver<T> Class
An IDbDependencyResolver implementation used for resolving IDbExecutionStrategy factories.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | ExecutionStrategyResolver<T>(String, String, Func<T>) | Initializes a new instance of ExecutionStrategyResolver<T> |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetService(Type, Object) | If the given type is Func<TResult>, then this resolver will attempt to return the service to use, otherwise it will return null. When the given type is Func{IExecutionStrategy}, then the key is expected to be an ExecutionStrategyKey. |
![]() | GetServices(Type, Object) | If the given type is Func<TResult>, then this resolver will attempt to return the service to use, otherwise it will return an empty enumeration. When the given type is Func{IExecutionStrategy}, then the key is expected to be an ExecutionStrategyKey. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | GetService(Type) | Overloaded. Calls GetService passing the given type argument and using null for the name argument.(Defined by DbDependencyResolverExtensions.) |
![]() | GetService<T>() | Overloaded. Calls GetService passing the generic type of the method as the type argument and null for the name argument.(Defined by DbDependencyResolverExtensions.) |
![]() | GetService<T>(Object) | Overloaded. Calls GetService passing the generic type of the method and the given name as arguments.(Defined by DbDependencyResolverExtensions.) |
![]() | GetServices(Type) | Overloaded. Calls GetServices passing the given type argument and using null for the name argument.(Defined by DbDependencyResolverExtensions.) |
![]() | GetServices<T>() | Overloaded. Calls GetServices passing the generic type of the method as the type argument and null for the name argument.(Defined by DbDependencyResolverExtensions.) |
![]() | GetServices<T>(Object) | Overloaded. Calls GetServices passing the generic type of the method and the given name as arguments.(Defined by DbDependencyResolverExtensions.) |
This class can be used by DbProviderServices to aid in the resolving of IDbExecutionStrategy factories as a default service for the provider.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.