Closed craig-wagner closed 9 years ago
The connection string can now be specified three ways...
Entirely in <appSettings> (existing functionality):
<appSettings> <add key="FeatureToggle.MyFeatureToggle.ConnectionString" value="Data Source=..." /> </appSettings>
Entirely in <connectionStrings> (existing functionality as of 3.1):
<connectionStrings> <add name="FeatureToggle.MySqlServerToggleFalse" connectionString="Data Source=..." /> </connectionStrings>
By specifying name of existing connection string in <connectionStrings> in the <appSettings> (new functionality):
<connectionStrings> <add name="primary" connectionString="Data Source=..." /> </connectionStrings> <appSettings> <add key="FeatureToggle.MyFeatureToggle.ConnectionStringName" value="primary" /> </appSettings>
Thanks @craig-wagner :)
ps. @craig-wagner congrats on your first open source contributions!
The connection string can now be specified three ways...
Entirely in <appSettings> (existing functionality):
Entirely in <connectionStrings> (existing functionality as of 3.1):
By specifying name of existing connection string in <connectionStrings> in the <appSettings> (new functionality):