Ef6DatabaseUpdateExtensions.

SetConnectionprovider(Ef6DatabaseUpdateSettings, string) Method

Summary

Specifies the connection string to use. If omitted, the context's default connection will be used.

Syntax

public static Ef6DatabaseUpdateSettings SetConnectionprovider(this Ef6DatabaseUpdateSettings settings, string connectionProvider)

Parameters

Name Type Description
settings Ef6DatabaseUpdateSettings The settings.
connectionProvider string Name of the connection string in the configuration file

Return Value

Type Description
Ef6DatabaseUpdateSettings The settings instance with ConnectionProvider set to connectionProvider.