4 types derived from DbProviderFactory
System.Data (3)
fx\src\data\System\Data\Odbc\OdbcFactory.cs (1)
17
public sealed class OdbcFactory :
DbProviderFactory
{
fx\src\data\System\Data\OleDb\OleDbFactory.cs (1)
17
public sealed class OleDbFactory :
DbProviderFactory
{
fx\src\data\System\Data\SqlClient\SqlClientFactory.cs (1)
18
public sealed class SqlClientFactory :
DbProviderFactory
, IServiceProvider {
System.Data.Entity (1)
System\Data\EntityClient\EntityProviderFactory.cs (1)
23
public sealed class EntityProviderFactory :
DbProviderFactory
, IServiceProvider
55 references to DbProviderFactory
System.Data (15)
fx\src\data\System\Data\Common\DBConnection.cs (2)
68
virtual protected
DbProviderFactory
DbProviderFactory {
74
internal
DbProviderFactory
ProviderFactory {
fx\src\data\System\Data\Common\DbProviderFactories.cs (7)
32
static public
DbProviderFactory
GetFactory(string providerInvariantName) {
54
static public
DbProviderFactory
GetFactory(DataRow providerRow) {
77
if (providerInstance.FieldType.IsSubclassOf(typeof(
DbProviderFactory
))) {
81
return (
DbProviderFactory
)factory;
96
static public
DbProviderFactory
GetFactory(DbConnection connection) {
145
if ((null != providerInstance) && (providerInstance.FieldType.IsSubclassOf(typeof(
DbProviderFactory
))))
191
if ((null != providerInstance) && (providerInstance.FieldType.IsSubclassOf(typeof(
DbProviderFactory
))))
fx\src\data\System\Data\Odbc\OdbcConnectionFactory.cs (1)
31
override public
DbProviderFactory
ProviderFactory {
fx\src\data\System\Data\OleDb\OleDbConnectionFactory.cs (1)
31
override public
DbProviderFactory
ProviderFactory {
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
52
abstract public
DbProviderFactory
ProviderFactory {
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
182
DbProviderFactory
providerFactory = ConnectionFactory.ProviderFactory;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
529
override protected
DbProviderFactory
DbProviderFactory {
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (1)
29
override public
DbProviderFactory
ProviderFactory {
System.Data.Entity (25)
System\Data\Common\DbProviderServices.cs (5)
280
internal static
DbProviderFactory
GetProviderFactory(string providerInvariantName)
283
DbProviderFactory
factory;
300
public static
DbProviderFactory
GetProviderFactory(DbConnection connection)
303
DbProviderFactory
factory = DbProviderFactories.GetFactory(connection);
314
internal static DbProviderServices GetProviderServices(
DbProviderFactory
factory) {
System\Data\Common\EntityUtil.cs (2)
1834
internal static bool TryGetProviderInvariantName(
DbProviderFactory
providerFactory, out string invariantName)
1868
var
foundFactory = DbProviderFactories.GetFactory(row);
System\Data\EntityClient\EntityCommandDefinition.cs (1)
61
internal EntityCommandDefinition(
DbProviderFactory
storeProviderFactory, DbCommandTree commandTree) {
System\Data\EntityClient\EntityConnection.cs (8)
56
private
DbProviderFactory
_providerFactory;
355
override protected
DbProviderFactory
DbProviderFactory
366
internal
DbProviderFactory
StoreProviderFactory
845
DbProviderFactory
factory = null;
964
DbProviderFactory
factory,
1000
private static string GetErrorMessageWorthyProviderName(
DbProviderFactory
factory)
1256
private
DbProviderFactory
GetFactory(string providerString)
1271
private DbConnection GetStoreConnection(
DbProviderFactory
factory)
System\Data\EntityClient\EntityProviderServices.cs (1)
43
internal EntityCommandDefinition CreateCommandDefinition(
DbProviderFactory
storeProviderFactory, DbCommandTree commandTree) {
System\Data\Metadata\StoreItemCollection.cs (4)
36
private readonly
DbProviderFactory
_providerFactory;
52
internal StoreItemCollection(
DbProviderFactory
factory, DbProviderManifest manifest, string providerManifestToken)
189
out
DbProviderFactory
providerFactory,
231
internal
DbProviderFactory
StoreProviderFactory
System\Data\Metadata\StoreItemCollection.Loader.cs (3)
27
private
DbProviderFactory
_providerFactory;
55
public
DbProviderFactory
ProviderFactory
135
DbProviderFactory
factory = null;
System\Data\Spatial\SpatialHelpers.cs (1)
34
DbProviderFactory
providerFactory = storeItemCollection.StoreProviderFactory;
System.Data.Entity.Design (3)
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
35
internal static DbProviderServices GetProviderServices(
DbProviderFactory
factory)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (2)
153
DbProviderFactory
providerFactory = DbProviderServices.GetProviderFactory(_loader.ProviderInvariantName);
303
DbProviderFactory
factory;
System.Data.Linq (2)
SqlClient\SqlProvider.cs (2)
353
DbProviderFactory
factory = SqlProvider.GetProvider(SqlCeProviderInvariantName);
429
private static
DbProviderFactory
GetProvider(string providerName) {
System.Web (9)
HttpRuntime.cs (1)
2604
internal static bool HasDbPermission(
DbProviderFactory
factory) {
UI\WebControls\AccessDataSource.cs (1)
217
protected override
DbProviderFactory
GetDbProviderFactory() {
UI\WebControls\SqlDataSource.cs (7)
52
private
DbProviderFactory
_providerFactory;
808
DbProviderFactory
factory = GetDbProviderFactorySecure();
818
DbProviderFactory
factory = GetDbProviderFactorySecure();
829
DbProviderFactory
factory = GetDbProviderFactorySecure();
854
DbProviderFactory
factory = GetDbProviderFactorySecure();
924
protected virtual
DbProviderFactory
GetDbProviderFactory() {
940
private
DbProviderFactory
GetDbProviderFactorySecure() {
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
976
DbProviderFactory
factory = null;