DbProviderFactories.GetFactory Method (DataRow)


Returns an instance of a DbProviderFactory.

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

public static DbProviderFactory GetFactory(
	DataRow providerRow


Type: System.Data.DataRow

DataRow containing the provider's configuration information.

Return Value

Type: System.Data.Common.DbProviderFactory

An instance of a DbProviderFactory for a specified DataRow.

The providerRow parameter corresponds to the DataRow of a table returned by GetFactoryClasses.

.NET Framework
Available since 2.0
Return to top