SqlProviderResolver..::..GetFactory Method
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.
Namespace:
AdvantageCMS.DataAssembly: AdvantageCMS.Data (in AdvantageCMS.Data.dll)
Syntax
public static ISqlProviderFactory GetFactory( string connectionName )
Parameters
- connectionName
- Type: String
The connection string name from ConfigurationManager.ConnectionStrings. Pass null to resolve the global fallback only.

