DbProviderFactory Class

DbProviderFactory Class

 

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

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)


public abstract class DbProviderFactory

NameDescription
System_CAPS_protmethodDbProviderFactory()

Initializes a new instance of a DbProviderFactory class.

NameDescription
System_CAPS_pubpropertyCanCreateDataSourceEnumerator

Specifies whether the specific DbProviderFactory supports the DbDataSourceEnumerator class.

NameDescription
System_CAPS_pubmethodCreateCommand()

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

System_CAPS_pubmethodCreateCommandBuilder()

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

System_CAPS_pubmethodCreateConnection()

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

System_CAPS_pubmethodCreateConnectionStringBuilder()

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

System_CAPS_pubmethodCreateDataAdapter()

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

System_CAPS_pubmethodCreateDataSourceEnumerator()

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

System_CAPS_pubmethodCreateParameter()

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

System_CAPS_pubmethodCreatePermission(PermissionState)

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

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft