Bewerken

Delen via


OdbcFactory Class

Definition

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

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

Fields

Instance

Gets an instance of the OdbcFactory, which can be used to retrieve strongly-typed data objects.

Properties

CanCreateDataSourceEnumerator

Gets a value that indicates whether this DbProviderFactory instance supports the DbDataSourceEnumerator class.

(Inherited from DbProviderFactory)

Methods

CreateCommand()

Returns a strongly-typed DbCommand instance.

CreateCommandBuilder()

Returns a strongly-typed DbCommandBuilder instance.

CreateConnection()

Returns a strongly-typed DbConnection instance.

CreateConnectionStringBuilder()

Returns a strongly-typed DbConnectionStringBuilder instance.

CreateDataAdapter()

Returns a strongly-typed DbDataAdapter instance.

CreateDataSourceEnumerator()

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

(Inherited from DbProviderFactory)
CreateParameter()

Returns a strongly-typed DbParameter instance.

CreatePermission(PermissionState)

Returns a strongly-typed CodeAccessPermission instance.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to