Lots of data and model setup

This commit is contained in:
gamer147
2025-05-18 02:27:17 -04:00
parent 79505e0c1a
commit b2024af852
77 changed files with 81988 additions and 433 deletions

View File

@@ -0,0 +1,15 @@
using Microsoft.EntityFrameworkCore;
namespace SVSim.Database.Repositories;
public abstract class BaseRepository<T> where T : class
{
protected readonly SVSimDbContext DbContext;
protected readonly DbSet<T> DbSet;
public BaseRepository(SVSimDbContext dbContext)
{
DbContext = dbContext;
DbSet = DbContext.Set<T>();
}
}