DbProviderFactory DbProviderFactory DbProviderFactory DbProviderFactory Class

Definition

Represents a set of methods for creating instances of a provider's implementation of the data source classes.

public ref class DbProviderFactory abstract
public abstract class DbProviderFactory
type DbProviderFactory = class
Public MustInherit Class DbProviderFactory
Inheritance
DbProviderFactoryDbProviderFactoryDbProviderFactoryDbProviderFactory
Derived

Constructors

DbProviderFactory() DbProviderFactory() DbProviderFactory() DbProviderFactory()

Initializes a new instance of a DbProviderFactory class.

Properties

CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator

Specifies whether the specific DbProviderFactory supports the DbDataSourceEnumerator class.

Methods

CreateCommand() CreateCommand() CreateCommand() CreateCommand()

Returns a new instance of the provider's class that implements the DbCommand class.

CreateCommandBuilder() CreateCommandBuilder() CreateCommandBuilder() CreateCommandBuilder()

Returns a new instance of the provider's class that implements the DbCommandBuilder class.

CreateConnection() CreateConnection() CreateConnection() CreateConnection()

Returns a new instance of the provider's class that implements the DbConnection class.

CreateConnectionStringBuilder() CreateConnectionStringBuilder() CreateConnectionStringBuilder() CreateConnectionStringBuilder()

Returns a new instance of the provider's class that implements the DbConnectionStringBuilder class.

CreateDataAdapter() CreateDataAdapter() CreateDataAdapter() CreateDataAdapter()

Returns a new instance of the provider's class that implements the DbDataAdapter class.

CreateDataSourceEnumerator() CreateDataSourceEnumerator() CreateDataSourceEnumerator() CreateDataSourceEnumerator()

Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class.

CreateParameter() CreateParameter() CreateParameter() CreateParameter()

Returns a new instance of the provider's class that implements the DbParameter class.

CreatePermission(PermissionState) CreatePermission(PermissionState) CreatePermission(PermissionState) CreatePermission(PermissionState)

Returns a new instance of the provider's class that implements the provider's version of the CodeAccessPermission class.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to