Breyta

Deila með


DbProviderFactories Class

Definition

Represents a set of static methods for creating one or more instances of DbProviderFactory classes.

public ref class DbProviderFactories abstract sealed
public static class DbProviderFactories
type DbProviderFactories = class
Public Class DbProviderFactories
Inheritance
DbProviderFactories

Methods

GetFactory(DataRow)

Returns an instance of a DbProviderFactory.

GetFactory(DbConnection)

Returns an instance of a DbProviderFactory.

GetFactory(String)

Returns an instance of a DbProviderFactory.

GetFactoryClasses()

Returns a DataTable that contains information about all installed providers that implement DbProviderFactory.

GetProviderInvariantNames()

Returns the invariant provider names for all registered instances of DbProviderFactory.

RegisterFactory(String, DbProviderFactory)

Registers an instance of DbProviderFactory under the specified invariant provider name.

RegisterFactory(String, String)

Registers a DbProviderFactory with the given assembly-qualified name under the specified invariant provider name.

RegisterFactory(String, Type)

Registers a DbProviderFactory with the given type under the specified invariant provider name.

TryGetFactory(String, DbProviderFactory)

Attempts to get the DbProviderFactory registered under the specified invariant provider name.

UnregisterFactory(String)

Removes a DbProviderFactory registration for the given provider invariant name.

Applies to

See also