SqlProviderServices.CloneDbConnection(DbConnection, DbProviderFactory) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clones the connection.
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
Parameters
- connection
- DbConnection
The original connection.
- factory
- DbProviderFactory
The factory to use.
Returns
Cloned connection
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework