Replies: 1 comment
-
Hi @lefig, I am glad that this project was helpful :) For using db-context in our handler, I use a mediatr pipeline behavior concept for handling transactions and save data in EF Core. You can follow this EfTxBehavior for checking how db-context will triggered after compilation our handler.
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Thank you for a great project which I have been following for some time. Its the only one that I know of which combines all the best practices in a relatively simple educational form. I have learnt much thanks to you.
And I was wondering how the methods implementing IDbContext get called and when?
Best wishes
Fig
Beta Was this translation helpful? Give feedback.
All reactions