AI did some stuff

This commit is contained in:
moarten
2026-03-26 21:40:11 +01:00
parent 0774281cbc
commit 5697cba8d4
13 changed files with 465 additions and 12 deletions

View File

@@ -4,14 +4,21 @@ using Microsoft.EntityFrameworkCore;
namespace Lutra.Infrastructure.Sql;
public class LutraDbContext : ILutraDbContext
public class LutraDbContext : DbContext, ILutraDbContext
{
public DbSet<Supermarkt> Supermarkten => throw new NotImplementedException();
public DbSet<Verspakket> Verspaketten => throw new NotImplementedException();
public Task<int> SaveChangesAsync(CancellationToken cancellationToken)
public LutraDbContext(DbContextOptions<LutraDbContext> options)
: base(options)
{
throw new NotImplementedException();
}
public DbSet<Supermarkt> Supermarkten => Set<Supermarkt>();
public DbSet<Verspakket> Verspaketten => Set<Verspakket>();
public DbSet<Beoordeling> Beoordelingen => Set<Beoordeling>();
public override Task<int> SaveChangesAsync(CancellationToken cancellationToken = default)
{
return base.SaveChangesAsync(cancellationToken);
}
}