SqlServerMigrationSqlGenerator::CreateConnection Method

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Creates an empty connection for the current provider. Allows derived providers to use connection other than SqlConnection.

Namespace:  System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

protected:
virtual DbConnection^ CreateConnection()

Return Value

Type: System.Data.Common::DbConnection
An empty connection for the current provider.
Show: