OleDbFactory OleDbFactory OleDbFactory OleDbFactory Class

Definition

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

public ref class OleDbFactory sealed : System::Data::Common::DbProviderFactory
public sealed class OleDbFactory : System.Data.Common.DbProviderFactory
type OleDbFactory = class
    inherit DbProviderFactory
Public NotInheritable Class OleDbFactory
Inherits DbProviderFactory
Inheritance

Fields

Instance Instance Instance Instance

Gets an instance of the OleDbFactory. This can be used to retrieve strongly-typed data objects.

Methods

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

Returns a strongly-typed DbCommand instance.

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

Returns a strongly-typed DbCommandBuilder instance.

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

Returns a strongly-typed DbConnection instance.

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

Returns a strongly-typed DbConnectionStringBuilder instance.

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

Returns a strongly-typed DbDataAdapter instance.

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

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

(Inherited from DbProviderFactory)
CreateParameter() CreateParameter() CreateParameter() CreateParameter()

Returns a strongly-typed DbParameter instance.

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

Returns a strongly-typed CodeAccessPermission instance.

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)

Properties

CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator CanCreateDataSourceEnumerator

Specifies whether the specific DbProviderFactory supports the DbDataSourceEnumerator class.

(Inherited from DbProviderFactory)

Applies to