8 lines
350 B
C#
8 lines
350 B
C#
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.");
|