Tcioch
Tcioch
I have a similar question. I coordinate several different domain services, which have their own repositories, in a handler. I'm using RepositoryBase and there is only AddAsync, which saves the...
@Sarmadjavediqbal I'm currently facing a challenge related to coordinating multiple domain services that each have their own repositories in a handler. I am using the Ardalis.Specification pattern and making use...
@Sarmadjavediqbal I completely do not understand. DbContext does not have a commit() method. Secondly SaveChangesAsync calls save to database, so why would I use commit() if it even existed? And...
@Sarmadjavediqbal This is my repository (example) ``` public interface ICarRepository : IRepositoryBase { } public class CarRepository : RepositoryBase, ICarRepository { public CarRepository(DbContext dbContext) : base(dbContext) { } } ```...
@Sarmadjavediqbal Thank you very much for your answer. Admittedly, I don't do a commit after every save, because I just mean the opposite. Also, I don't use SaveChangesAsync, because they...