Partager via


SqlProviderServices.CloneDbConnection(DbConnection, DbProviderFactory) Méthode

Définition

Clone la connexion.

public override System.Data.Common.DbConnection CloneDbConnection (System.Data.Common.DbConnection connection, System.Data.Common.DbProviderFactory factory);
override this.CloneDbConnection : System.Data.Common.DbConnection * System.Data.Common.DbProviderFactory -> System.Data.Common.DbConnection
Public Overrides Function CloneDbConnection (connection As DbConnection, factory As DbProviderFactory) As DbConnection

Paramètres

connection
DbConnection

Connexion d’origine.

factory
DbProviderFactory

Usine à utiliser.

Retours

Connexion cloné

S’applique à