TransactionHandlerResolver Constructor (Func<TransactionHandler>, String, String)
Initializes a new instance of TransactionHandlerResolver class
Assembly: EntityFramework (in EntityFramework.dll)
public TransactionHandlerResolver( Func<TransactionHandler> transactionHandlerFactory, string providerInvariantName, string serverName )
Parameters
- transactionHandlerFactory
-
Type:
System.Func<TransactionHandler>
A function that returns a new instance of a transaction handler.
- providerInvariantName
-
Type:
System.String
The ADO.NET provider invariant name indicating the type of ADO.NET connection for which the transaction handler will be used. null will match anything.
- serverName
-
Type:
System.String
A string that will be matched against the server name in the connection string. null will match anything.