Udostępnij za pośrednictwem


TransactionHandlerResolver Klasa

Definicja

Implementacja IDbDependencyResolver używana do rozpoznawania TransactionHandler fabryk.

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

Konstruktory

TransactionHandlerResolver(Func<TransactionHandler>, String, String)

Inicjuje nowe wystąpienie TransactionHandlerResolver

Metody

Equals(Object)

Implementacja IDbDependencyResolver używana do rozpoznawania TransactionHandler fabryk.

GetHashCode()

Implementacja IDbDependencyResolver używana do rozpoznawania TransactionHandler fabryk.

GetService(Type, Object)

Jeśli dany typ to Func<TResult>, ta metoda podejmie próbę zwrócenia usługi do użycia, w przeciwnym razie zwróci nullwartość . Gdy dany typ to Func<TResult>, klucz ma być wartością ExecutionStrategyKey.

GetServices(Type, Object)

Jeśli dany typ to Func<TResult>, ten program rozpoznawania spróbuje zwrócić usługę do użycia, w przeciwnym razie zwróci pustą wyliczenie. Gdy dany typ to Func<TResult>, klucz ma być kluczem ExecutionStrategyKey.

Metody rozszerzania

GetService(IDbDependencyResolver, Type)

Wywołuje GetService(Type, Object) przekazanie danego argumentu typu i użycie wartości null dla argumentu name.

GetService<T>(IDbDependencyResolver)

Wywołuje GetService(Type, Object) przekazywanie typu ogólnego metody jako argumentu typu i wartości null dla argumentu nazwy.

GetService<T>(IDbDependencyResolver, Object)

Wywołuje GetService(Type, Object) przekazywanie typu ogólnego metody i podanej nazwy jako argumentów.

GetServices(IDbDependencyResolver, Type)

Wywołuje GetServices(Type, Object) przekazanie danego argumentu typu i użycie wartości null dla argumentu name.

GetServices<T>(IDbDependencyResolver)

Wywołuje GetServices(Type, Object) przekazywanie typu ogólnego metody jako argumentu typu i wartości null dla argumentu nazwy.

GetServices<T>(IDbDependencyResolver, Object)

Wywołuje GetServices(Type, Object) przekazywanie typu ogólnego metody i podanej nazwy jako argumentów.

Dotyczy