This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.EntityFramework6.
Summary
Specifies the connection string to use. If omitted, the context's default connection will be used.
- Assembly
- Cake
.EntityFramework6 .dll - Namespace
- Cake
.EntityFramework6 .Database - Containing Type
- Ef6
Database Update Extensions
Syntax
public static Ef6DatabaseUpdateSettings SetConnectionprovider(this Ef6DatabaseUpdateSettings settings, string connectionProvider)
Parameters
Name | Type | Description |
---|---|---|
settings | Ef6 |
The settings. |
connectionProvider | string | Name of the connection string in the configuration file |
Return Value
Type | Description |
---|---|
Ef6 |
The settings instance with ConnectionProvider set to connectionProvider. |