ConnectionStringsExtensions.Get method
namespace: Serenity.Data assembly: Serenity.Net.Data
Gets connection string by key
public static IConnectionString Get(this IConnectionStrings connectionStrings, string connectionKey)
| parameter | description |
|---|---|
| connectionStrings | Connection strings object |
| connectionKey | Connection key |
Return Value
Connection string with key, or throws an ArgumentOutOfRangeException
See Also
- interface IConnectionString
- interface IConnectionStrings
- class ConnectionStringsExtensions