OdbcFactory Class

 

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

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


public sealed class OdbcFactory : DbProviderFactory

NameDescription
System_CAPS_pubpropertyCanCreateDataSourceEnumerator

Specifies whether the specific DbProviderFactory supports the DbDataSourceEnumerator class.(Inherited from DbProviderFactory.)

NameDescription
System_CAPS_pubmethodCreateCommand()

Returns a strongly-typed DbCommand instance.(Overrides DbProviderFactory.CreateCommand().)

System_CAPS_pubmethodCreateCommandBuilder()

Returns a strongly-typed DbCommandBuilder instance.(Overrides DbProviderFactory.CreateCommandBuilder().)

System_CAPS_pubmethodCreateConnection()

Returns a strongly-typed DbConnection instance.(Overrides DbProviderFactory.CreateConnection().)

System_CAPS_pubmethodCreateConnectionStringBuilder()
System_CAPS_pubmethodCreateDataAdapter()

Returns a strongly-typed DbDataAdapter instance.(Overrides DbProviderFactory.CreateDataAdapter().)

System_CAPS_pubmethodCreateDataSourceEnumerator()

Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class.(Inherited from DbProviderFactory.)

System_CAPS_pubmethodCreateParameter()

Returns a strongly-typed DbParameter instance.(Overrides DbProviderFactory.CreateParameter().)

System_CAPS_pubmethodCreatePermission(PermissionState)

Returns a strongly-typed CodeAccessPermission instance.(Overrides DbProviderFactory.CreatePermission(PermissionState).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(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_pubmethodToString()

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

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticInstance

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

.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: