Partager via


DbProviderServices.CloneDbConnection Méthode

Définition

Surcharges

CloneDbConnection(DbConnection)

Clone la connexion.

CloneDbConnection(DbConnection, DbProviderFactory)

Clone la connexion.

CloneDbConnection(DbConnection)

Clone la connexion.

public virtual System.Data.Common.DbConnection CloneDbConnection (System.Data.Common.DbConnection connection);
abstract member CloneDbConnection : System.Data.Common.DbConnection -> System.Data.Common.DbConnection
override this.CloneDbConnection : System.Data.Common.DbConnection -> System.Data.Common.DbConnection
Public Overridable Function CloneDbConnection (connection As DbConnection) As DbConnection

Paramètres

connection
DbConnection

Connexion d’origine.

Retours

Connexion cloné

S’applique à

CloneDbConnection(DbConnection, DbProviderFactory)

Clone la connexion.

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

Paramètres

connection
DbConnection

Connexion d’origine.

factory
DbProviderFactory

Fabrique à utiliser.

Retours

Connexion cloné

S’applique à