mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-02-03 17:24:24 -05:00
Rework database loading/migration
This commit is contained in:
@@ -10,6 +10,11 @@ namespace FeedCenter
|
||||
{
|
||||
public static object OpenDataStore()
|
||||
{
|
||||
if (!Database.Exists)
|
||||
return null;
|
||||
|
||||
Database.Load();
|
||||
|
||||
return Database.Entities;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user