0
vrkbandaru created
- ABP Framework version: v7.2.2
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
After upgrading the microservice ABP version to 7.2.2, it is necessary to include the following line of code in every repository method to insert/update records: "await CurrentUnitOfWork.SaveChangesAsync();"
Is there a way to globalise this rather than individually adding the above line to each repository method? below is the screenshot of couple of repository methods.
1 Answer(s)
-
1
You can try:
Repository.UpdateAsync(.., autoSave: true)