OSDN Git Service

構成変更のためファイルを置き直し。
[kybernetes/Kybernetes.git] / base / data / connection / SettingDBConnection.cs
diff --git a/base/data/connection/SettingDBConnection.cs b/base/data/connection/SettingDBConnection.cs
new file mode 100644 (file)
index 0000000..4e06f94
--- /dev/null
@@ -0,0 +1,37 @@
+using System;\r
+using System.Collections.Generic;\r
+using System.Linq;\r
+using System.Text;\r
+\r
+namespace com.andoutomo.kybernetes.data.connection\r
+{\r
+    class SettingDBConnection : DBConnection\r
+    {\r
+        #region singleton\r
+        private static SettingDBConnection connection;\r
+        private SettingDBConnection()\r
+        {\r
+\r
+        }\r
+        public static SettingDBConnection Connection\r
+        {\r
+            get\r
+            {\r
+                if (connection == null)\r
+                {\r
+                    connection = new SettingDBConnection();\r
+                }\r
+                return connection;\r
+            }\r
+            private set { }\r
+        }\r
+        #endregion\r
+\r
+\r
+\r
+        public override string targetDbFile()\r
+        {\r
+            return "setting.db";\r
+        }\r
+    }\r
+}\r