python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Confusing behaviour when handling exceptions in combination with using
Question
I am currently implementing a UOW pattern and have come upon a weird behaviour for exception handling, which is hindering my progress.
My UOW structure looks the following:
public abstract cl...
Dilan Boskan
Votes: 0
Answers: 1
xUnit, Moq with UnitOfWork and general repository
I tried a lot of examples but I do not get the good response.
The ReportUpload method creates some Report entity based on the list from ExcelManager list
and adds them to the Reports DbSet.
My goal wo...
sada
Votes: 0
Answers: 1
Repository implemented in EF Core: use whole DbContext or only DbSet?
Given that EF Core already implements repository pattern (DbSet) and unit of work (DbContext), can I use DbSet directly in my repository like this?
public class MyEfRepository : IMyRepository
{
pr...
toffik325
Votes: 0
Answers: 1