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