6 references to DbProvidersIndex
System.Data (6)
fx\src\data\System\Data\Common\DbProviderFactories.cs (6)
126
DbProviderFactoryConfigSection[] dbFactoriesConfigSection = new DbProviderFactoryConfigSection[(int)
DbProvidersIndex
.DbProvidersIndexCount];
127
dbFactoriesConfigSection[(int)
DbProvidersIndex
.Odbc] = new DbProviderFactoryConfigSection(typeof(System.Data.Odbc.OdbcFactory), DbProviderFactoriesConfigurationHandler.odbcProviderName, DbProviderFactoriesConfigurationHandler.odbcProviderDescription);
128
dbFactoriesConfigSection[(int)
DbProvidersIndex
.OleDb] = new DbProviderFactoryConfigSection(typeof(System.Data.OleDb.OleDbFactory), DbProviderFactoriesConfigurationHandler.oledbProviderName, DbProviderFactoriesConfigurationHandler.oledbProviderDescription);
129
dbFactoriesConfigSection[(int)
DbProvidersIndex
.OracleClient] = new DbProviderFactoryConfigSection(DbProviderFactoriesConfigurationHandler.oracleclientProviderName, DbProviderFactoriesConfigurationHandler.oracleclientProviderNamespace, DbProviderFactoriesConfigurationHandler.oracleclientProviderDescription, asmQualName);
130
dbFactoriesConfigSection[(int)
DbProvidersIndex
.SqlClient] = new DbProviderFactoryConfigSection(typeof(System.Data.SqlClient.SqlClientFactory), DbProviderFactoriesConfigurationHandler.sqlclientProviderName, DbProviderFactoriesConfigurationHandler.sqlclientProviderDescription);
138
if (i == ((int)
DbProvidersIndex
.OracleClient)) // OracleClient Provider: Include only if it installed