init efcore

This commit is contained in:
bob
2026-05-29 12:21:42 -05:00
commit 3d3a5c2a5e
28 changed files with 2071 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
using BlueLaminate.EFCore.Data;
// Build the context the same way the design-time factory does. Run
// `dotnet ef database update` to apply migrations to the configured database.
using var db = new SkinTrackerDbContextFactory().CreateDbContext(args);
Console.WriteLine($"CS2 Skin Tracker — {db.Model.GetEntityTypes().Count()} entities mapped.");