EntityProviderFactory.CreateConnection Method ()

 

Returns a new instance of the provider's class that implements the EntityConnection class.

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

public override DbConnection CreateConnection()

Return Value

Type: System.Data.Common.DbConnection

A new instance of EntityConnection.