Compartir a través de


SqlProviderServices.CloneDbConnection(DbConnection, DbProviderFactory) Método

Definición

Clona la conexión.

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

Parámetros

connection
DbConnection

La conexión original.

factory
DbProviderFactory

Generador que se va a usar.

Devoluciones

Conexión clonada

Se aplica a