This commit is contained in:
2025-05-25 18:36:59 +02:00
parent e86a49d5f6
commit 90d7281050
29 changed files with 321 additions and 959 deletions

12
SQLiteEF/Game.cs Normal file
View File

@ -0,0 +1,12 @@
using Microsoft.EntityFrameworkCore;
namespace SQLiteEF;
[PrimaryKey("AppId")]
public class Game(ulong appId, string name)
{
public ulong AppId { get; init; } = appId;
public string Name { get; init; } = name;
public ICollection<Player> PlayedBy { get; init; } = null!;
public ICollection<TrackedTime> TrackedTimes { get; init; } = null!;
}