feat(core): Core-Bibliotheken auf 2.0.0.0 aktualisiert und IUnique implementiert

- `IUnique`-Schnittstelle in allen Entitäten implementiert.
- Interface für DbContext erstellt und DbSet-Eigenschaften in den Konstruktoren über Repositories injiziert.
This commit is contained in:
Developer 02
2024-09-20 00:25:57 +02:00
parent a8de883b7e
commit 8d88148b98
19 changed files with 75 additions and 30 deletions

View File

@@ -6,9 +6,9 @@ using Microsoft.EntityFrameworkCore;
namespace DigitalData.UserManager.Infrastructure.Repositories
{
public class UserRepRepository<TDbContext> : CRUDRepository<UserRep, int, TDbContext>, IUserRepRepository
where TDbContext : DbContext
where TDbContext : DbContext, IUserManagerDbContext
{
public UserRepRepository(TDbContext dbContext) : base(dbContext)
public UserRepRepository(TDbContext dbContext) : base(dbContext, dbContext.UserReps)
{
}