CoreGetConnectionString(String) Method
取得連線字串
Namespace: eBizprise.FrameworkAssembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 25.0.3.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
public static string GetConnectionString(
string settingName
)
- settingName String
- 設定名稱
Stringstring
資料庫連線字串必需以AES加密後填入
註:預設值為null
string sqlServerConnectionString = Core.GetConnectionString("SqlServer");
| Date | Version | Description |
|---|
| 2020/02/07 | 1.0.0.0 | 初版 |
| 2020/02/19 | 1.0.0.1 | 調整為靜態方法 |
| 2020/02/24 | 1.0.0.2 | 增加指定設定檔功能 |
| 2020/03/27 | 1.0.1.0 | 增加支援預設值 |
| 2025/05/27 | 2.2.3.0 | 修正設定檔非預設時異常 |
| 2025/09/19 | 25.0.0.0 | 彙整2025年度初版 |