Integrated SQLite database.
This commit is contained in:
1 parent
39bcdb3970
commit
a478d4ebb0
3 files changed
+53
-26
No files matched your search
@@ -16,12 +16,8 @@ public partial class App : Application {
|
||||
public override void OnFrameworkInitializationCompleted() {
|
||||
base.OnFrameworkInitializationCompleted();
|
||||
|
||||
// Create a connection to SQLite
|
||||
var database = new Database();
|
||||
var coin = database.GetCoin(1003, "AG-3");
|
||||
|
||||
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) {
|
||||
var coins = new Services.CoinCollection();
|
||||
var coins = new Database();
|
||||
|
||||
desktop.MainWindow = new MainWindow {
|
||||
DataContext = new MainWindowViewModel(coins),
|
||||
|
||||
Reference in new issue
Block a user