Added method for starting the import process.

This commit is contained in:
Thorsten Sommer 2023-01-02 20:56:06 +01:00
parent 7676bea101
commit 79d8deb837
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -157,5 +157,12 @@ public sealed class DataContext : DbContext, IDataContext
}, jsonSettings);
}
public static async Task ImportAndLoadAsync(string path)
{
// We import that JSON data file into an new, empty database file
// at a temporary location. Next, we enable the auto export feature
// to keep the source file up-to-date.
}
#endregion
}