From 1a1c8e71fcd14858f595029f089b2d4a00202b32 Mon Sep 17 00:00:00 2001
From: ogi <Administrator@S-OGI-PC>
Date: Fri, 05 Dec 2025 09:24:16 +0900
Subject: [PATCH] プロジェクトファイルを追加。
---
HotelPms.SourceFactory/Util/Setting.cs | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/HotelPms.SourceFactory/Util/Setting.cs b/HotelPms.SourceFactory/Util/Setting.cs
new file mode 100644
index 0000000..f5e399c
--- /dev/null
+++ b/HotelPms.SourceFactory/Util/Setting.cs
@@ -0,0 +1,21 @@
+using HotelPms.Share.Data;
+
+namespace HotelPms.SourceFactory.Util
+{
+ public class Setting
+ {
+ /// <summary>
+ /// DB接続情報
+ /// </summary>
+ public DBConnectItem? DataBase { get; set; }
+
+ /// <summary>
+ /// DBアクセスクラス生成
+ /// </summary>
+ /// <returns></returns>
+ public MsSqlNet CreateDBAccess()
+ {
+ return new MsSqlNet(DataBase);
+ }
+ }
+}
--
Gitblit v1.10.0