TransactionHandlerResolver Class

Definition

An IDbDependencyResolver implementation used for resolving TransactionHandler factories.

public class TransactionHandlerResolver : System.Data.Entity.Infrastructure.DependencyResolution.IDbDependencyResolver
type TransactionHandlerResolver = class
    interface IDbDependencyResolver
Public Class TransactionHandlerResolver
Implements IDbDependencyResolver
Inheritance
TransactionHandlerResolver
Implements

Constructors

TransactionHandlerResolver(Func<TransactionHandler>, String, String)

Initializes a new instance of TransactionHandlerResolver

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

GetService(Type, Object)

If the given type is Func<TResult>, then this method will attempt to return the service to use, otherwise it will return null. When the given type is Func<TResult>, then the key is expected to be a 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<TResult>, then the key is expected to be an ExecutionStrategyKey.

Extension Methods

GetService(IDbDependencyResolver, Type)

Calls GetService(Type, Object) passing the given type argument and using null for the name argument.

GetService<T>(IDbDependencyResolver)

Calls GetService(Type, Object) passing the generic type of the method as the type argument and null for the name argument.

GetService<T>(IDbDependencyResolver, Object)

Calls GetService(Type, Object) passing the generic type of the method and the given name as arguments.

GetServices(IDbDependencyResolver, Type)

Calls GetServices(Type, Object) passing the given type argument and using null for the name argument.

GetServices<T>(IDbDependencyResolver)

Calls GetServices(Type, Object) passing the generic type of the method as the type argument and null for the name argument.

GetServices<T>(IDbDependencyResolver, Object)

Calls GetServices(Type, Object) passing the generic type of the method and the given name as arguments.

Applies to