Share via


IDbProviderFactoryResolver.ResolveProviderFactory(DbConnection) Method

Definition

Returns the DbProviderFactory for the given connection.

public System.Data.Common.DbProviderFactory ResolveProviderFactory (System.Data.Common.DbConnection connection);
abstract member ResolveProviderFactory : System.Data.Common.DbConnection -> System.Data.Common.DbProviderFactory
Public Function ResolveProviderFactory (connection As DbConnection) As DbProviderFactory

Parameters

connection
DbConnection

The connection.

Returns

The provider factory for the connection.

Applies to