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 name of a connection string to use from the application's configuration file.
- Assembly
- Cake
.EntityFramework6 .dll - Namespace
- Cake
.EntityFramework6 .Database - Containing Type
- Ef6
Database Update Extensions
Syntax
public static Ef6DatabaseUpdateSettings SetConnectionStringName(this Ef6DatabaseUpdateSettings settings, string connectionStringName)
Parameters
Name | Type | Description |
---|---|---|
settings | Ef6 |
The settings. |
connectionStringName | string | Name of the connection string in the configuration file |
Return Value
Type | Description |
---|---|
Ef6 |
The settings instance with ConnectionStringName set to connectionStringName. |