You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are cron jobs, which are produce events. So I want to push event into outobox without using of DbContext (just to handle if queue doesn't work). Does Silverback help to me?)
The text was updated successfully, but these errors were encountered:
Overriding the SaveChanges method is necessary only to automatically publish the domain events embedded in the models (aggregates) being saved. The outbox works independently of that and you just need to call a SaveChanges after you published the messages in order for them to be persisted.
Using the outbox without the DbContext altogether is not possible. Currently, the only way to write to the database is through a DbContext. Again, this will change in Silverback 4. 😉
There are cron jobs, which are produce events. So I want to push event into outobox without using of DbContext (just to handle if queue doesn't work). Does Silverback help to me?)
The text was updated successfully, but these errors were encountered: