Objekte können hinzugefügt werdne
This commit is contained in:
@@ -25,6 +25,7 @@ namespace KanSan.Base
|
||||
public UnitOfWork(KanSanContext dbContext)
|
||||
{
|
||||
_dbContext = dbContext;
|
||||
//_dbContext.ChangeTracker.QueryTrackingBehavior = Microsoft.EntityFrameworkCore.QueryTrackingBehavior.NoTracking;
|
||||
}
|
||||
|
||||
public IRepository<Projekt> ProjekteRepository => _projekte ?? (_projekte = new BaseRepository<Projekt>(_dbContext));
|
||||
|
||||
Reference in New Issue
Block a user