Share via


EntityProviderFactory.CreateConnection Method

Definition

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

public override System.Data.Common.DbConnection CreateConnection ();
override this.CreateConnection : unit -> System.Data.Common.DbConnection
Public Overrides Function CreateConnection () As DbConnection

Returns

A new instance of EntityConnection.

Applies to