Baseline: Ausgangszustand vor Modularisierung

Erster Commit des bestehenden monolithischen WinForms-Copytraders,
inklusive der Alt-Backups (*.bak), damit diese dauerhaft in der
Historie rekonstruierbar bleiben. Threema-Lib unter libs/ wurde
vendored (nested .git entfernt).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
bergm
2026-07-01 13:16:16 +02:00
co-authored by Claude Opus 4.8
commit 475d396f80
147 changed files with 25455 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
using LiteDB;
using System.Linq;
using (var db = new LiteDatabase(@"j:\Softwareprojekte\PolytraderSharp\PolyTraderSharp\bin\Debug\net8.0-windows7.0\polytrader_data.db"))
{
var accounts = db.GetCollection("accounts").FindAll().ToList();
foreach(var acc in accounts)
{
var id = acc["_id"].AsInt32;
var name = acc["Name"].AsString;
var active = acc["IsActive"].AsBoolean;
Console.WriteLine($"ID: {id}, Name: {name}, Active: {active}");
}
}