2 types derived from DbProviderFactory
System.Data.Odbc (1)
System\Data\Odbc\OdbcFactory.cs (1)
8
public sealed partial class OdbcFactory :
DbProviderFactory
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
268
public sealed partial class OleDbFactory : System.Data.Common.
DbProviderFactory
29 references to DbProviderFactory
Microsoft.Data.Analysis (2)
DataFrame.IO.cs (1)
227
public void SaveTo(DbDataAdapter dataAdapter,
DbProviderFactory
factory)
Extensions.cs (1)
15
public static DbDataAdapter CreateDataAdapter(this
DbProviderFactory
factory, DbConnection connection, string tableName)
Microsoft.ML.Data (3)
DataLoadSave\Database\DatabaseSource.cs (3)
19
public DatabaseSource(
DbProviderFactory
providerFactory, string connectionString, string commandText) :
29
public DatabaseSource(
DbProviderFactory
providerFactory, string connectionString, string commandText, int commandTimeoutInSeconds)
52
public
DbProviderFactory
ProviderFactory { get; }
netstandard (1)
netstandard.cs (1)
470
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.
DbProviderFactory
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
44
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.
DbProviderFactory
))]
System.Data.Common (18)
System\Data\Common\DbConnection.cs (2)
39
protected virtual
DbProviderFactory
? DbProviderFactory => null;
41
internal
DbProviderFactory
? ProviderFactory => DbProviderFactory;
System\Data\Common\DbProviderFactories.cs (14)
20
internal ProviderRegistration([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields)] string factoryTypeAssemblyQualifiedName,
DbProviderFactory
? factoryInstance)
33
internal
DbProviderFactory
? FactoryInstance { get; }
44
public static bool TryGetFactory(string providerInvariantName, [NotNullWhen(true)] out
DbProviderFactory
? factory)
50
public static
DbProviderFactory
GetFactory(string providerInvariantName)
56
public static
DbProviderFactory
GetFactory(DataRow providerRow)
76
public static
DbProviderFactory
? GetFactory(DbConnection connection)
124
public static void RegisterFactory(string providerInvariantName,
DbProviderFactory
factory)
138
private static
DbProviderFactory
? GetFactory(string providerInvariantName, bool throwOnError)
154
return throwOnError ? throw ADP.Argument(SR.Format(SR.ADP_DbProviderFactories_InvariantNameNotFound, providerInvariantName)) : (
DbProviderFactory
?)null;
156
DbProviderFactory
? toReturn = registration.FactoryInstance;
168
private static
DbProviderFactory
GetFactoryInstance([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields)] Type providerFactoryClass)
171
if (!providerFactoryClass.IsSubclassOf(typeof(
DbProviderFactory
)))
181
if (!providerInstance.FieldType.IsSubclassOf(typeof(
DbProviderFactory
)))
190
return (
DbProviderFactory
)factory;
System\Data\Common\DefaultDataSource.cs (2)
8
private readonly
DbProviderFactory
_dbProviderFactory;
11
internal DefaultDataSource(
DbProviderFactory
dbProviderFactory, string connectionString)
System.Data.Odbc (4)
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionFactory.cs (1)
38
public abstract
DbProviderFactory
ProviderFactory
System\Data\Odbc\OdbcConnection.cs (1)
146
protected override
DbProviderFactory
DbProviderFactory
System\Data\Odbc\OdbcConnectionFactory.cs (1)
22
public override
DbProviderFactory
ProviderFactory
System\Data\Odbc\OdbcConnectionHelper.cs (1)
155
DbProviderFactory
providerFactory = ConnectionFactory.ProviderFactory;