Minor comment change
This commit is contained in:
parent
e9cfa5dc72
commit
bb39e5fd6e
@ -241,8 +241,8 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Infrastructure
|
||||
// Choices:
|
||||
// A) Right BEFORE committing data (EF SaveChanges) into the DB will make a single transaction including
|
||||
// side effects from the domain event handlers which are using the same DbContext with "InstancePerLifetimeScope" or "scoped" lifetime
|
||||
// B) Right AFTER committing data (EF SaveChanges) into the DB. will make multiple transactions.
|
||||
// You will need to handle eventual consistency and compensatory actions in case of failures.
|
||||
// B) Right AFTER committing data (EF SaveChanges) into the DB will make multiple transactions.
|
||||
// You will need to handle eventual consistency and compensatory actions in case of failures in any of the Handlers.
|
||||
await _mediator.DispatchDomainEventsAsync(this);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user