mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-02-16 10:58:31 -05:00
Start adding server support
This commit is contained in:
@@ -7,18 +7,5 @@ public static class Database
|
||||
public static string DatabaseFile { get; set; }
|
||||
public static string DatabasePath { get; set; }
|
||||
|
||||
public static FeedCenterEntities Entities { get; set; }
|
||||
|
||||
public static bool Exists => File.Exists(DatabaseFile);
|
||||
|
||||
public static bool Loaded { get; set; }
|
||||
|
||||
public static void Load()
|
||||
{
|
||||
if (Loaded) return;
|
||||
|
||||
Entities = new FeedCenterEntities();
|
||||
|
||||
Loaded = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user