Gets the connection name from environment.
- Namespace
- Songhay
.Extensions - Containing Type
- Configuration
Manager Extensions
Syntax
public static string GetConnectionNameFromEnvironment(this ConnectionStringSettingsCollection? collection, string unqualifiedKey, string environmentName, string delimiter)
Parameters
Name | Type | Description |
---|---|---|
collection | Connection |
The collection. |
unqualifiedKey | string | The unqualified key. |
environmentName | string | Name of the environment. |
delimiter | string | The delimiter. |
Return Value
Type | Description |
---|---|
string |