Share via


SqlCeMigrationSqlGenerator.CreateConnection Method

Definition

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

protected virtual System.Data.Common.DbConnection CreateConnection ();
abstract member CreateConnection : unit -> System.Data.Common.DbConnection
override this.CreateConnection : unit -> System.Data.Common.DbConnection
Protected Overridable Function CreateConnection () As DbConnection

Returns

An empty connection for the current provider.

Applies to