From 463c4611d18dd49cde5c6afd474eae450a205a01 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 18 Jan 2023 20:00:47 +0100 Subject: [PATCH] Removed not used factory class --- .../DataModel/Database/Common/DataContextFactory.cs | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 I18N Commander/DataModel/Database/Common/DataContextFactory.cs diff --git a/I18N Commander/DataModel/Database/Common/DataContextFactory.cs b/I18N Commander/DataModel/Database/Common/DataContextFactory.cs deleted file mode 100644 index 566624d..0000000 --- a/I18N Commander/DataModel/Database/Common/DataContextFactory.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace DataModel.Database.Common; - -public sealed class DataContextFactory -{ - public IDataContext DataContext { get; private set; } - - public void CreateDataContext(string path2Database) - { - this.DataContext = Setup.CreateDatabaseInstance(path2Database, true); - } -} \ No newline at end of file