@@ -1566,6 +1566,7 @@ public partial class MainWindow : IPanelHostControl
&& !myType.IsGenericType
&& myType.GetInterfaces().Contains(typeof(IStore))
).ToArray();
+ DbFactory.DefaultStore = typeof(BaseStore<>);
DbFactory.ProviderFactory = new SQLiteProviderFactory(App.DatabaseSettings.FileName);
DbFactory.ColorScheme = App.DatabaseSettings.ColorScheme;
@@ -166,6 +166,7 @@ public class DatabaseEngine : Engine<DatabaseServerProperties>
myType is { IsClass: true, IsAbstract: false, IsGenericType: false }
DbFactory.ProviderFactory = new SQLiteProviderFactory(Properties.FileName);
@@ -1144,6 +1144,7 @@ public class ServerGrid : DynamicGrid<Server>
DbFactory.ProviderFactory = new SQLiteProviderFactory(properties.FileName);
DbFactory.Start();