SqlProviderResolver Members
The SqlProviderResolver type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
ActiveProviderName |
Returns the canonical provider name ("Microsoft.Data.SqlClient" or "System.Data.SqlClient")
for the given connection string name.
|
|
|
GetFactory |
Returns the ISqlProviderFactory for the given connection string name.
Resolution order:
1. providerName on the named connection string entry
2. AppSettings["DataProvider"] global fallback
3. System.Data.SqlClient default
Thread-safe; each distinct name is resolved once per AppDomain.
|

